Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neomatrix369/gildedrosekata
A number of solutions to the Gilded Rose Kata implemented in Java using various refactoring methods and Java testing tools
https://github.com/neomatrix369/gildedrosekata
Last synced: 16 days ago
JSON representation
A number of solutions to the Gilded Rose Kata implemented in Java using various refactoring methods and Java testing tools
- Host: GitHub
- URL: https://github.com/neomatrix369/gildedrosekata
- Owner: neomatrix369
- License: cc0-1.0
- Created: 2015-10-14T10:28:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-10-23T18:31:18.000Z (about 6 years ago)
- Last Synced: 2024-05-01T21:06:10.847Z (7 months ago)
- Language: Java
- Size: 1.2 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GildedRoseKata
A number of solutions to the Gilded Rose Kata implemented in Java using various refactoring methods and Java testing tools.Problem has been solved in 6 different ways, mainly learning a lot of Refactoring techniques and concepts about Domain objects. Also some tools on code coverage and writing tests (especially Golden Master):
*Solution 1*
git checkout Solution1
*Solution 2*
git checkout Solution2
*Solution 3*
git checkout Solution3
*Solution 4*
git checkout Solution4
*Solution 5*
git checkout Solution5
*Solution 6*
git checkout Solution6
**PiTest coverage plugin documentation**
_mutationCoverage goal_
The mutation coverage goal analyses all classes in the codebase that match the target tests and target classes filters.
It can be run directly from the commandline
`$ mvn org.pitest:pitest-maven:mutationCoverage`
This will output an html report to target/pit-reports/YYYYMMDDHHMI.
To speed-up repeated analysis of the same codebase set the withHistory parameter to true.`$ mvn -DwithHistory org.pitest:pitest-maven:mutationCoverage`
_scmMutationCoverage goal_
The scm mutation coverage goal analyses only classes that match the filters and the source file has a given status within the project source control system (by default ADDED or MODIFIED). This provides a quick way to check the coverage of changes prior to checking code in / pushing code to a repository.
`$ mvn org.pitest:pitest-maven:scmMutationCoverage -Dinclude=ADDED,UNKNOWN -DmutationThreshold=85`All three combined:
`$ mvn -DwithHistory org.pitest:pitest-maven:mutationCoverage org.pitest:pitest-maven:scmMutationCoverage -Dinclude=ADDED,UNKNOWN -DmutationThreshold=85`