Replies: 1 comment
-
|
Thanks, yep, it does not really understand any
Actually this is interesting and a bit different from just knowing not to traverse the mod statement if the feature is off. I'll have to think about that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a project that looks roughly like this:
where
libs.rscontainsand
other_filecontains both logic and tests.Curently
cargo mutants --no-default-featuresgenerates mutants inother_file.rsthat will not be compiled and not be tested. This means lost time testing nothing and investigating wrong misses.I guess it's good practice the run
cargo mutantswith--all-featuresand it solves this issue but having feedback on mutations that were discarded (at compilation or ideally at generation) due to feature selection would be valuable imho.You can find a concrete example in this crate: https://github.com/Azkellas/mesh_to_sdf/tree/main/mesh_to_sdf where
point/impl_*.rsfile are feature gated to avoid pulling dependencies.Beta Was this translation helpful? Give feedback.
All reactions