[squeak-dev] The Trunk: SUnit-lrnp.140.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Apr 18 10:16:53 UTC 2022


Marcel Taeumel uploaded a new version of SUnit to project The Trunk:
http://source.squeak.org/trunk/SUnit-lrnp.140.mcz

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

Name: SUnit-lrnp.140
Author: lrnp
Time: 13 April 2022, 10:40:36.664532 pm
UUID: aeb50b2d-7d82-4dfb-b8ec-f44e5186d624
Ancestors: SUnit-ct.139

test history yes/no methods

Methods to answer whether or not there were any issues with all tests in a TestCase passing, based on the kind of issue or irrespective of such.

To complement new functionality in TestRunner.

=============== Diff against SUnit-ct.139 ===============

Item was added:
+ ----- Method: TestCase class>>hasAnyFailures (in category 'testing') -----
+ hasAnyFailures
+ 
+ 	^ (self lastRun at: #failures) isEmpty not!

Item was added:
+ ----- Method: TestCase class>>hasAnyIssues (in category 'testing') -----
+ hasAnyIssues
+ 
+ 	^ self hasAnyFailures or: self hasRaisedAnyErrors!

Item was added:
+ ----- Method: TestCase class>>hasRaisedAnyErrors (in category 'testing') -----
+ hasRaisedAnyErrors
+ 
+ 	^ (self lastRun at: #errors) isEmpty not!



More information about the Squeak-dev mailing list