[squeak-dev] The Inbox: SUnitGUI-mt.74.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Sep 9 14:40:33 UTC 2019


A new version of SUnitGUI was added to project The Inbox:
http://source.squeak.org/inbox/SUnitGUI-mt.74.mcz

==================== Summary ====================

Name: SUnitGUI-mt.74
Author: mt
Time: 9 September 2019, 4:40:33.402661 pm
UUID: 99859e65-22a5-4b93-9876-8bb1dcd3cc39
Ancestors: SUnitGUI-mt.73

Adds time measurement for tests without changing TestCase, which is important for smalltalkCi.

We still need terminology better than "measured" ... :-)

=============== Diff against SUnitGUI-mt.73 ===============

Item was changed:
  ----- Method: TestRunner>>buttons (in category 'accessing-ui') -----
  buttons
+ 	^ #(( 'Run Selected' #runAllMeasured #hasRunnable )
- 	^ #(( 'Run Selected' #runAll #hasRunnable )
  		( 'Run Profiled' #runProfiled #hasRunnable )
  		( 'Run Coverage' #runCoverage #hasRunnable )
  		( 'Run Failures' #runFailures #hasFailures )
  		( 'Run Errors' #runErrors #hasErrors ))!

Item was added:
+ ----- Method: TestRunner>>runAllMeasured (in category 'actions - measured') -----
+ runAllMeasured
+ 
+ 	self
+ 		reset;
+ 		runSuiteMeasured: self suiteAll;
+ 		saveResultInHistory.!

Item was added:
+ ----- Method: TestRunner>>runSuiteMeasured: (in category 'actions - measured') -----
+ runSuiteMeasured: aTestSuite
+ 	self basicRunSuite: aTestSuite do: [ :each | self runTestMeasured: each ].
+ 	self updateResults
+ 
+ !

Item was added:
+ ----- Method: TestRunner>>runTestMeasured: (in category 'actions - measured') -----
+ runTestMeasured: aTestCase
+ 	result runCaseMeasured: aTestCase.
+ 	self updateStatus: true.!



More information about the Squeak-dev mailing list