stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3k stars 660 forks source link

Mutation Testing #4172

Open saralab opened 6 months ago

saralab commented 6 months ago

Mutation Testing is a technique of evaluating the effectiveness of a series of tests by introducing small changes to the code (mutations) and checking if the tests can detect these small changes.

They are useful because they can show which functions are not tested properly and tell that their tests are missing, timing out or simply those functions are unviable to be tested.

### Independent Workflows
- [ ] https://github.com/stacks-network/stacks-core/issues/4176
- [ ] https://github.com/stacks-network/stacks-core/issues/4177
ASuciuX commented 6 months ago

I've added a list with the workflows as I've split this into 2 PRs since the filter-pr could be merged and would be useful as soon as possible and waiting on the other one for the sync to be finished.

Also, i've opened an issue on cargo-mutants related to the fact that custom lib names weren't working for mutants such as libclarity or libsigner. https://github.com/sourcefrog/cargo-mutants/issues/185