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

Add Gambit mutation test to CI #94

Open
wants to merge 19 commits into
base: develop
Choose a base branch
from
Open

Add Gambit mutation test to CI #94

wants to merge 19 commits into from

Conversation

gvladika
Copy link
Contributor

@gvladika gvladika commented Aug 12, 2024

Add Github worflow for mutation testing. Due to long execution times and non-complete unit test coverage, action for now only has manual trigger.

Action will first generate custom Gambit for CI config - it will collect all (non test/mock) Solidity files and add them to config. For every file 4 mutants will be generated (constant in script which be configurable) and random seed is used. Then, mutation test is started using the generated config. Test will create and print out mutants, execute the tests over them, print results and fail the job if any mutant survived.

@cla-bot cla-bot bot added the cla-signed label Aug 12, 2024
@gvladika gvladika changed the title Gambit action draft Add Gambit mutation test to CI Aug 21, 2024
@gvladika gvladika marked this pull request as ready for review August 21, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant