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

Test Fail Criteria based on Baseline score #3124

Open
chdittmer opened this issue Nov 25, 2024 · 0 comments
Open

Test Fail Criteria based on Baseline score #3124

chdittmer opened this issue Nov 25, 2024 · 0 comments
Labels
🚀 Feature request New feature or request

Comments

@chdittmer
Copy link

chdittmer commented Nov 25, 2024

I would like to be able to set a fail criteria based on the baseline mutation score. Basically I would like to incentivize our developers to write better unit tests by ensuring any new changes to code has better unit test coverage by ensuring the new tests end up with a better mutation score than the baseline.

Required behavior:

  • Set the baseline mutation score as the "break" criteria (Anything lower than baseline will break).
  • Do not create a new baseline if the run "breaks" due to the score being worse.
  • If mutation score is better continue as usual

This way our CI/CD pipelines will automatically be able stop any new (and potentially untested) code from being merged into a release.

@chdittmer chdittmer added the 🚀 Feature request New feature or request label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant