Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add function-filter to spec-test and mutation-test #21

Merged
merged 3 commits into from
Sep 13, 2024

Conversation

Rqnsom
Copy link
Member

@Rqnsom Rqnsom commented Sep 12, 2024

This PR adds addition command line argument to mutate only specified functions:

    /// Work only over specified functions.
    #[clap(short = 'f', long, value_parser, default_value = "all")]
    pub mutate_functions: FunctionFilter,

to both move-spec-test and move-mutation-test tools.

@Rqnsom Rqnsom added the feat label Sep 12, 2024
@Rqnsom Rqnsom added this to the Milestone 1 milestone Sep 12, 2024
@Rqnsom Rqnsom requested a review from asmie September 12, 2024 14:17
@Rqnsom Rqnsom self-assigned this Sep 12, 2024
@Rqnsom Rqnsom linked an issue Sep 12, 2024 that may be closed by this pull request
Copy link
Member

@asmie asmie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks nice! 💯

This PR adds addition command line argument to mutate only specified
functions:
```rust
    /// Work only over specified functions.
    #[clap(short = 'f', long, value_parser, default_value = "all")]
    pub mutate_functions: FunctionFilter,
```
to both `move-spec-test` and `move-mutation-test` tools.
@Rqnsom Rqnsom force-pushed the develop/feat/add-function-filter-to-mutator-test branch from f88d86a to 25b36b4 Compare September 13, 2024 06:20
@Rqnsom Rqnsom merged commit 1d2073f into develop-m1 Sep 13, 2024
1 check passed
@Rqnsom Rqnsom deleted the develop/feat/add-function-filter-to-mutator-test branch September 13, 2024 06:34
@Rqnsom Rqnsom mentioned this pull request Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add function filter to move-mutation-test
2 participants