Performing Dynamic Analysis
Jtest performs dynamic analysis and static analysis each time that you test a class or set of classes.
To perform dynamic analysis:
- Open the appropriate UI for your test. The Class Testing UI is used to test a single class; the Project Testing UI is used to test a set of classes.
- The Class Testing UI opens by default when Jtest is launched.
- The Project Testing UI can be opened by clicking the Class Testing UI's Project button.
- If a class or set of classes is already loaded into the UI you are using, click the New button to clear the previous test.
- Use the Browse button to indicate what class or set of classes you want to test.
- Test the class or project by clicking the Start button.
- If you only want to perform dynamic analysis, right-click the Start button, then choose Dynamic Analysis from the shortcut menu.
Jtest will then run all requested tests.
Errors found will be reported in the Errors Found Panel (if you tested a single class) or the Results Panel (if you tested a project).
Important: Because Jtest's dynamic analysis tests at the class level, Jtest will only perform dynamic analysis on classes whose .class files are available.
Related Topics
About Dynamic Analysis
Customizing Dynamic Analysis
Testing Classes That Reference External Resources
Using Custom Stubs
Setting an Object to a Certain State
Jtest Tutorials
|