mutode icon indicating copy to clipboard operation
mutode copied to clipboard

Run only related tests

Open camjc opened this issue 7 years ago • 1 comments

Jest can run related tests only, either through -o for uncommitted files, or through --findRelatedTests path/to/fileA.js path/to/fileB.js to find tests related to those particular files.

If we could find a way to do this and pass the actively mutating file through we could run just the tests that we need to and massively speed up mutation testing (a few tests vs an entire suite per mutation).

Not sure if other test frameworks support this kind of thing, it'd be great to implement in a generic/extensible way.

camjc avatar Jul 09 '18 00:07 camjc

Please help us in this regard, today I can not use the detailed command in the documentation about the paths.

antoniogeroncio avatar Oct 15 '18 11:10 antoniogeroncio