-
Notifications
You must be signed in to change notification settings - Fork 0
TestCase
Nicolas Cellier edited this page Aug 11, 2015
·
1 revision
In Smalltalk SUnit framework, a TestCase is place for holding a suite of unit test cases.
TestCase is a class providing testing messages, mainly #assert: #deny: #should: #shouldnt: #should:raise: #shouldnt:raise:. It provides support for trapping exceptions and collecting results of the test suites. The SUnit framework then provides a user interface for driving the tests, displaying and debugging the failures.
A specific test suite is usually implemented by subclassing TestCase, and ArbitraryPrecisionFloatTests is thus a subclass of TestCase.