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

Mutation testing to identify accidentally untested code #2227

Open
3 tasks
sveitser opened this issue Oct 28, 2024 · 0 comments · May be fixed by #2232
Open
3 tasks

Mutation testing to identify accidentally untested code #2227

sveitser opened this issue Oct 28, 2024 · 0 comments · May be fixed by #2232

Comments

@sveitser
Copy link
Collaborator

sveitser commented Oct 28, 2024

The idea is to find out what can be changed in the code without failing compilation or without failing tests.

For many of those we may expect that it's not explicitly tested but for some it may show that we are not testing something that we believe we are testing.

Tool: https://mutants.rs/getting-started.html, maybe there are others

  • try out the tool
  • add some tooling to use it easily
  • run it on the CI and/or a long-running cloud server.
@sveitser sveitser changed the title Mutation testing to identify unused code Mutation testing to identify accidentally untested code Oct 28, 2024
@sveitser sveitser linked a pull request Oct 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant