Martin Pool

Results 203 issues of Martin Pool

`--shards` lets you split mutation testing across multiple CI workers, which is good for latency, but has the downside that you then need to look at multiple log outputs or...

enhancement
CI
sharding

Collect the ideas and suggestions from https://github.com/sourcefrog/cargo-mutants/pull/340/files into a doc.

documentation
generate
small

```rust let cat = Cat { name: "Felix", coat: Coat::Tuxedo, ..Default::default() }; ``` We could try deleting `name` and `age` in two separate mutations. https://doc.rust-lang.org/reference/expressions/struct-expr.html `Default::default()` is the most common...

generate

I think the default build profile used by `cargo test` has minimal optimizations but does have debug symbols. The debug symbols are unlikely to be very useful in mutant test...

performance

To discover bugs in tree and file walking, it might be good to set up an Actions matrix that tries cargo-mutants on a selection of complex Rust trees. A few...

testing
trial
modules

In 24.3, we do one pass over source files, parsing them using `syn` and identifying (1) other source files that we need to recurse into and (2) mutants from this...

performance
maybe
internal
modules

For example from https://github.com/sourcefrog/conserve/blob/main/src/apath.rs ```rust impl AsRef for Apath { fn as_ref(&self) -> &str { &self.0 } } impl From for String { fn from(a: Apath) -> String { a.0...

bug
generate

I think in https://github.com/sourcefrog/conserve/actions/runs/8676081693/job/23790302177 the diff was empty and mutants failed, which is probably not what you want.

bug
good first issue
small

### Discussed in https://github.com/sourcefrog/cargo-mutants/discussions/314 Originally posted by **pashadia** March 21, 2024 Hi all, New contributor here, first of all congratulations on a great project! I've used `cargo mutants` on a...

enhancement
good first issue
generate

It might be better to write one json file with all the produced information and with a format marker: perhaps easier this way to evolve the format by adding more...

output