Specify what files to mutate
See original GitHub issueIntroduction
Currenty it is possible to exclude files. This makes filtering possible so we can specify a few files not to mutate if these for example contain logic that aren’t needed to be tested (like a startup.cs
).
Issue
We wish to expand this feature by specifying what files should be mutated. All other files should be excluded. This can be useful on large projects. When a developer made changes in only a few files he could want to do a quick run instead of a full run on all files.
Requirements
- A option
--files-to-mutate
/-ftm
should be added which expects a json array of strings. - All files not specified should be excluded
- When a folder is specified, all files found in this folder should be mutated
- When a file/folder is specified that is not found a warning should be logged
- When this feature is enabled, file exclusion may not be enabled. Also the other way around.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Configuration | Stryker Mutator
With mutate you configure the subset of files to use for mutation testing. Generally speaking, these should be your own source files.
Read more >Command Line Controls — Mutatest 3.1.0 documentation
Command Line Controls¶. Specifying source files and test commands¶. If you have a Python package in a directory with an associated tests/ folder...
Read more >stryker-mutator/core
With mutate you configure the subset of files to use for mutation testing. Generally speaking, these should be your own source files. This...
Read more >Stryker does not detect any of the tests in angular application
im trying to do mutation testing for my application, however when i run my stryker mutator it does not take any of the...
Read more >Mutate filter plugin | Logstash Reference [8.9]
The mutate filter allows you to perform general mutations on fields. ... Mutations in a config file are executed in this order:.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is the way it is implemented in JS stryker mutator
Implemented by #662 and released since version 0.13.0