Skip to content

Feature Request: passing feature flags #154

@elichai

Description

@elichai

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, in real code you don't want to risk mutagen affecting the code with regular tests and the compilation overhead.
    (a naive solution is master...TheBlueMatt:master a real one involves the ability of passing arbitrary feature flags when running cargo mutagen)

2. There are some mutations that can't be "fixed" with more tests, because their path isn't really reachable or the mutation doesn't really matter to the function, so a way to add "ignore" to mutations, either with a file (like sanitizers supressions) or with attributes (like #[allow(...)]) that can be also feature gated. (opened #156)

Thanks,
Elichai.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions