Smalltalk Test Kritic Description
The Smalltalk Test Kritic is a test coverage tool. It provides the VisualWorks developer with an assessment as to how well his tests have exercised the code under test. The process of determining what code has been exercised is accomplished by placing probes at the entrance and exit of every block in the methods under test. When the code is executed, the enter and exit event of the block is recorded. This informs the developer of the test coverage of each block in a method, not just the method itself.
The Case Browser, shown below, is used to assign classes and methods to a test case, and report the coverage result.
The browser shows a case that includes all the methods of the FileBrowser class. The numbers beside the method protocols are the percentage of the code that has been exercised in the corresponding protocol. When a method is selected, the text view will show what parts of the method have and have not been executed. The browser below, shows the unexecuted code in red.
The Case Browser also includes the following features:
- Filters to show items meeting specified coverage ratios.
- Export & Import of the case definition
- Save & Load test state to support multi-image testing.
Supported platforms and configurations
The Smalltalk Test Kritic is built upon the Smalltalk Professional Debug Package. The Smalltalk Test Kritic can be installed in any system that has the Smalltalk Professional Debug Package installed.
Pricing for VW and ENVY/Developer versionsVisualWorks is a trademark of Cincom Systems, Inc.
ENVY and ENVY/Developer are trademarks of Object Technology International, Inc.