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

run only the mutation on the src who are in the origin branch but not in the destination branch #409

Merged
merged 1 commit into from Nov 7, 2017

Conversation

sarahBuisson
Copy link

with the param originBranch and destinationBranch, you can run only the mutation test in the modified code.

By example, It will allow to run the mutation test only on the impacted code of a PR. Moderne build factory can publish this report as comment of the PR ( or at least a link to the repport)

I test-it in my project,(it work !) but I don't have any idea how create a IT test for this .

@hcoles
Copy link
Owner

hcoles commented Oct 3, 2017

Yes, testing this stuff is hard - none of the SCM functionality currently has a meaningful integration test. I think the solution probably involves docker.

Will take a look at the changes when I get chance - thanks for the PR.

@sarahBuisson
Copy link
Author

I've publish a project who test-it : https://github.com/sarahBuisson/pitest-scm-test
Each branch have a type of modification with the master.

@hcoles hcoles merged commit d855ab8 into hcoles:master Nov 7, 2017
@hcoles
Copy link
Owner

hcoles commented Nov 7, 2017

Thanks - merged in now. Sorry for the delay·

hcoles pushed a commit that referenced this pull request Nov 7, 2017
hcoles pushed a commit that referenced this pull request Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants