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

Run only related tests #13

Open
camjc opened this issue Jul 9, 2018 · 1 comment
Open

Run only related tests #13

camjc opened this issue Jul 9, 2018 · 1 comment

Comments

@camjc
Copy link
Contributor

camjc commented Jul 9, 2018

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.

@antoniogeroncio
Copy link

antoniogeroncio commented Oct 15, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants