Skip to content

ci: add incremental-mutants job to execute cargo mutants against PR diff#17

Merged
nymius merged 1 commit into
bitcoindevkit:masterfrom
nymius:ci/add-mutation-testing-job
Jul 9, 2025
Merged

ci: add incremental-mutants job to execute cargo mutants against PR diff#17
nymius merged 1 commit into
bitcoindevkit:masterfrom
nymius:ci/add-mutation-testing-job

Conversation

@nymius

@nymius nymius commented Jul 9, 2025

Copy link
Copy Markdown
Collaborator

Description

Mutation is a way to assess the quality of the test. By changing the code under test, it allows to identify conditions that cannot be detected by the actual tests, and improve them to catch them properly.

Fixes #6

Notes to the reviewers

Mutation may be very slow in some scenarios, to allow a fast feedback loop without consuming too much execution time, the mutations are going to be performed on the diff between the code in the PR and the code in the master branch.

Also, a cargo profile mutants was added to remove debugging symbols from compilation and optimize the code.

Checklists

@nymius nymius added this to the bdk-sp 0.1.0 milestone Jul 9, 2025
@nymius nymius self-assigned this Jul 9, 2025
@nymius
nymius merged commit 571cc60 into bitcoindevkit:master Jul 9, 2025
5 checks passed
@nymius
nymius deleted the ci/add-mutation-testing-job branch July 9, 2025 19:27
@nymius nymius added the ci Updates continuous integration jobs label Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Updates continuous integration jobs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add mutation testing to CI for improved test quality

1 participant