Skip to content

Commit f514bc6

Browse files
committed
Add script + ignore OSX Files
1 parent 47be501 commit f514bc6

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ SqueakDebug.log
2020
# Metacello-github cache
2121
/github-cache
2222
github-*.zip
23+
24+
**/.DS_STORE

scripts/mutationTesting.st

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Metacello new
2+
githubUser: 'jecisc' project: 'TinyLogger' commitish: 'v1.x.x' path: 'src';
3+
baseline: 'TinyLogger';
4+
load.
5+
6+
Metacello new
7+
baseline: 'MuTalk';
8+
repository: 'github://pavel-krivanek/mutalk/src';
9+
load.
10+
11+
analysis := MutationTestingAnalysis
12+
testCasesFrom: 'TinyLogger-Tests' asPackage definedClasses
13+
mutating: 'TinyLogger' asPackage definedClasses
14+
using: MutantOperator contents
15+
with: AllTestsMethodsRunningMutantEvaluationStrategy new.
16+
analysis run.
17+
alive := analysis generalResult aliveMutants.
18+
19+
browser := GLMTabulator new.
20+
browser
21+
row: #results;
22+
row: #diff.
23+
browser transmit to: #results.
24+
browser transmit to: #diff; from: #results; andShow: [ :a |
25+
a diff display: [ :mutant | {((RBParser parseMethod: (mutant mutant originalSource)) formattedCode) . ((RBParser parseMethod: (mutant mutant modifiedSource)) formattedCode)}] ].
26+
browser openOn: alive.

0 commit comments

Comments
 (0)