assert_fs
assert_fs copied to clipboard
Filesystem fixtures and assertions.
This is quite the edge case, but I've got a test configured where I perform filesystem operations using SFTP against the local machine connected to itself. In the screenshot below,...
This will provide more useful panic information, by default See https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1460-2020-08-27
https://docs.rs/assert_fs/1.0.1/assert_fs/assert/trait.PathAssert.html#required-methods says you can pass a &Path, but this errors with: ``` error[E0277]: the trait bound `&Path: IntoPathPredicate` is not satisfied --> src/git/tests.rs:54:36 | 54 | clone.child("HEAD").assert(repo.child("HEAD").path()); | ^^^^^^^^^^^^^^^^^^^^^^^^^ the...
Can I assert metadata of a file, like permissions, file type, access time, etc?
Maintainer Edit: There are two problems that we became aware of in this issue - Confusion over function names which was addressed by #56 - Wanting to support a workflow...
In case someone wants custom temp dir functionality or some other unknown situation. From @volks73 at https://github.com/assert-rs/assert_fs/issues/46 > I would use assert_fs more if I could upgrade from v0.9. The...
Summary - Give better overview of what this crate is and how it works - Do a better job explaining why this crate is better than hand-rolling a solution From...
Things like - Permissions - atime, mtime, etc We'd have to consider cross-platform implications Mentioned by @mssun in #17
So what if you programmatically create data and want to serialize it? Should we have - `write_yml(serde)` - `write_json(serde)` - `write_toml(serde)`
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/assert-rs/assert_fs). This repository currently has no open or...