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

Dry run all the test files together before initiating mutations #262

Open
tarunbhm opened this issue Mar 7, 2023 · 0 comments
Open

Dry run all the test files together before initiating mutations #262

tarunbhm opened this issue Mar 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@tarunbhm
Copy link
Contributor

tarunbhm commented Mar 7, 2023

Currently Necessist dry runs each test file and then starts mutating it line by line to find surviving mutations. The dry run of the next file required an additional build after reverting the last mutation of the earlier file. We can try to improve performance by dry running all the files together at the start, which will allow us to skip the build of the original code again and again with a dry run of every test file.

However, there is a challenge with this approach. The Necessist is built with two goals:

  1. Provide useful information when something fails.
  2. Be able to keep going when something fails.

Therefore to be able to find which test file had a failing test case will require parsing logic for test output for all supported frameworks. We are keeping this issue for future if we can find a better approach to handle this case.

@smoelius smoelius added the enhancement New feature or request label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants