File size: 397 Bytes
8f3f8db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
executing
test
	| runner |
	self prepareForTesting.
	self isCoverageTestingEnabled
		ifTrue: [ self class codeCoverageClass
					run: [ runner := self runTests ]
					spec: self spec
					in: self projectDirectory ]
		ifFalse: [ runner := self runTests ] .
	(JS at: '__karma__') ifNotNil: [:karma |
		"..."
	] ifNil: [
		self reportResults: runner.
		SmalltalkCI shutdown: runner isSuccessful.
	]