Smalltalk Test Kritic Version 1.5

By: Crafted Smalltalk  09-12-2011
Keywords: Browser, Object Technology, Professional Debug Package,

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 versions

VisualWorks is a trademark of Cincom Systems, Inc.
ENVY and ENVY/Developer are trademarks of Object Technology International, Inc.

Keywords: Browser, Object Technology, Professional Debug Package,

Other products and services from Crafted Smalltalk



The bottom section is used to edit the watch expression, and the section on the right side is used to manage the watch window. The expression shown in the expression editor produces a listing of the message stack. The top section is used to edit the probe's conditional expression. This variable is the context of the method that contains the probe. In the code you will notice a variable, DOITCONTEXT.


Smalltalk Professional Debug Package Version 2.5

Select home context - searches the send stack and selects the home context of the selected block context. Next iteration - continues execution in debugger until breakpoint occurs or context returns. Improved button bar - uses icons, additional commands, & button help. Can reference method temporaries and object instance variables. Compare field object with clipboard. Paste clipboard object to field.