-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implementation of Partial Mutation Pitests in pom.xml #20
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 😎 🤙
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice... but please copy over the changes to the README.md as well from the source PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 😎🤙
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes #19
Implemented the ability to do partial Pitests with the commands provided below. Only some simple edits to pom.xml and edits to readme for the main commands.
For tests on one class do:
mvn pitest:mutationCoverage -DtargetClasses=edu.ucsb.cs156.organic.controllers.CLASS_NAME
You must use the class name, not the file name.
For tests on a package:
mvn pitest:mutationCoverage -DtargetClasses=edu.ucsb.cs156.organic.controllers.*
Output after running --- : mvn pitest:mutationCoverage -DtargetClasses=edu.ucsb.cs156.organic.controllers.StudentsController
Output after running ---:mvn pitest:mutationCoverage -DtargetClasses=edu.ucsb.cs156.organic.controllers.*