[squeak-dev] The Inbox: SUnit-lrnp.140.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Apr 14 04:40:37 UTC 2022
A new version of SUnit was added to project The Inbox:
http://source.squeak.org/inbox/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
|