-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from jecisc/32-Improve-test-coverage-using-MuT…
…alk-mutation-testing 32-Improve-test-coverage-using-MuTalk-mutation-testing
- Loading branch information
Showing
10 changed files
with
68 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,5 @@ SqueakDebug.log | |
# Metacello-github cache | ||
/github-cache | ||
github-*.zip | ||
|
||
**/.DS_STORE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Metacello new | ||
githubUser: 'jecisc' project: 'TinyLogger' commitish: 'v1.x.x' path: 'src'; | ||
baseline: 'TinyLogger'; | ||
load. | ||
|
||
Metacello new | ||
baseline: 'MuTalk'; | ||
repository: 'github://pavel-krivanek/mutalk/src'; | ||
load. | ||
|
||
analysis := MutationTestingAnalysis | ||
testCasesFrom: 'TinyLogger-Tests' asPackage definedClasses | ||
mutating: 'TinyLogger' asPackage definedClasses | ||
using: MutantOperator contents | ||
with: AllTestsMethodsRunningMutantEvaluationStrategy new. | ||
analysis run. | ||
alive := analysis generalResult aliveMutants. | ||
|
||
browser := GLMTabulator new. | ||
browser | ||
row: #results; | ||
row: #diff. | ||
browser transmit to: #results. | ||
browser transmit to: #diff; from: #results; andShow: [ :a | | ||
a diff display: [ :mutant | {((RBParser parseMethod: (mutant mutant originalSource)) formattedCode) . ((RBParser parseMethod: (mutant mutant modifiedSource)) formattedCode)}] ]. | ||
browser openOn: alive. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters