mutagen icon indicating copy to clipboard operation
mutagen copied to clipboard

Breaking your Rust code for fun and profit

Results 37 mutagen issues
Sort by recently updated
recently updated
newest added

Hey! I wonder what the options are to use mutagen in CI pipelines. I could not find any support about it such as GitHub actions or so. The simplest I...

There is a format of output for mutation tools called "mutation elements" [1]. Format supported by tools that used for visualization [2] and [3]. It would be nice to support...

We should have some document that outlines which mutations are actually there and what they do to the code.

enhancement
help wanted
good first issue

Given the following `lib.rs`: ``` fn foo() {} #[cfg(test)] mod tests { #[test] fn it_works() { let x = [0u8]; assert_eq!((&x[..]).as_ref(), []); } } ``` Running `cargo check --tests` succeeds....

Minimally reproducible example: ``` use mutagen::mutate; #[mutate] fn hi(mut ret: i64) -> i64 { let sh = if ret > 5 { 0 } else { 8 }; ret +=...

Hi, I think adding this crate to CI would be awesome, but it will require 3 changes: 1. Important - suppressing mutations, not all mutations can be fixed, and some...

Hi, First this crate is awesome :) Thank you!. Second, In my view there are 2 important features missing to add this to a CI: 1. Feature gate the mutations,...

When I try to run `cargo +nightly test`, I get a whole slew of errors: ``` error[E0557]: feature has been removed --> /home/joshua/.cargo/registry/src/github.com-1ecc6299db9ec823/mutagen-plugin-0.1.2/src/lib.rs:1:30 | 1 | #![feature(plugin_registrar, quote, rustc_private, custom_attribute)]...

``` 10 #[mutate] 11 pub fn add_five(i: usize) -> usize { 12 i + 4 + 1 13 } ``` fails to cargo test with: ``` error: custom attribute panicked...

I noticed a few comments along the lines of trying to avoid mutating into infinite loops. While of course this is good to avoid too many spurious too-weak mutations, it's...