Martin Pool
Martin Pool
In general this will help when the tests evaluate some, but not all, important behavior of the function. For example: * The function returns a compound type such as a...
Yeah, exactly. That's a more realistic example of the second category in my post. I'm in favor of adding this, but I think it will need some mitigations for the...
To use fs_at, it would have to also support stating files and reading links, which it currently does not, but which could be possible with readlinkat and fstatat.
https://github.com/sourcefrog/cp_r/compare/fs_at?expand=1 is an experiment towards using fs_at in a similar but smaller crate.
My [current code](https://github.com/sourcefrog/cargo-mutants/commit/8fd65b1409989342fae98bdfe7052cffa85a8426) does in fact use an `Option`, but it just feels a bit repetitive to say "is there a RegexSet and if so is it not empty?" Or...
An interesting test of this would be https://github.com/rbtcollins/fs_at which on Linux finds missed mutants only on Windows. This example indicates a couple of wrinkles, in https://github.com/rbtcollins/fs_at/blob/main/src/lib.rs#L22: 1. Rather than the...
Doesn't have to be `log` if something else works better. Thanks!
My current thoughts would be: * maybe use [`tracing`](https://docs.rs/tracing/latest/tracing/) for a debug log * separately, write a change log with one json dict per line, for every entry added/deleted/changed (https://jsonlines.org/)...
Let's take a step back to discuss objectives. I'll also reply here to your comment in . I think there are several different types of output here and it's useful...
Are you contemplating adding some other particular UI? Or do you just see this as a generally-useful cleanup? Just moving all the code to do with terminal UI to one...