<div dir="auto">runSuiteAndMeasureTime:?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"> <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>> schrieb am Mo., 9. Sep. 2019, 16:40:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A new version of SUnitGUI was added to project The Inbox:<br>
<a href="http://source.squeak.org/inbox/SUnitGUI-mt.74.mcz" rel="noreferrer noreferrer" target="_blank">http://source.squeak.org/inbox/SUnitGUI-mt.74.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: SUnitGUI-mt.74<br>
Author: mt<br>
Time: 9 September 2019, 4:40:33.402661 pm<br>
UUID: 99859e65-22a5-4b93-9876-8bb1dcd3cc39<br>
Ancestors: SUnitGUI-mt.73<br>
<br>
Adds time measurement for tests without changing TestCase, which is important for smalltalkCi.<br>
<br>
We still need terminology better than "measured" ... :-)<br>
<br>
=============== Diff against SUnitGUI-mt.73 ===============<br>
<br>
Item was changed:<br>
  ----- Method: TestRunner>>buttons (in category 'accessing-ui') -----<br>
  buttons<br>
+       ^ #(( 'Run Selected' #runAllMeasured #hasRunnable )<br>
-       ^ #(( 'Run Selected' #runAll #hasRunnable )<br>
                ( 'Run Profiled' #runProfiled #hasRunnable )<br>
                ( 'Run Coverage' #runCoverage #hasRunnable )<br>
                ( 'Run Failures' #runFailures #hasFailures )<br>
                ( 'Run Errors' #runErrors #hasErrors ))!<br>
<br>
Item was added:<br>
+ ----- Method: TestRunner>>runAllMeasured (in category 'actions - measured') -----<br>
+ runAllMeasured<br>
+ <br>
+       self<br>
+               reset;<br>
+               runSuiteMeasured: self suiteAll;<br>
+               saveResultInHistory.!<br>
<br>
Item was added:<br>
+ ----- Method: TestRunner>>runSuiteMeasured: (in category 'actions - measured') -----<br>
+ runSuiteMeasured: aTestSuite<br>
+       self basicRunSuite: aTestSuite do: [ :each | self runTestMeasured: each ].<br>
+       self updateResults<br>
+ <br>
+ !<br>
<br>
Item was added:<br>
+ ----- Method: TestRunner>>runTestMeasured: (in category 'actions - measured') -----<br>
+ runTestMeasured: aTestCase<br>
+       result runCaseMeasured: aTestCase.<br>
+       self updateStatus: true.!<br>
<br>
<br>
</blockquote></div>