Recommended: Sing it, brah! 5 fabulous songs for developers
JW's Top 5
Optimize with a SATA RAID Storage Solution
Range of capacities as low as $1250 per TB. Ideal if you currently rely on servers/disks/JBODs
Page 2 of 7
I explore Jtest 4.5h in this article. After introducing you to that version's user interfaces (UIs), I show, via several code examples, how to use Jtest to perform static and dynamic analysis tests. I also show you how to customize Jtest. Once you complete this article, I invite you to obtain a copy of Jtest and explore that tool's extensive documentation, which includes a tutorial.
| Note |
|---|
| Jtest is part Java and part non-Java, and supports a variety of platforms. After installing the evaluation copy, you must obtain a license from Parasoft to try Jtest for a limited time period. Follow Parasoft's instructions to install the license. |
Jtest lets you test individual classes or a set of classes that constitutes a project (such as an application or an applet). For individual class testing, Jtest presents a Class Testing UI. For class-set testing, Jtest presents a Project Testing UI. The Class Testing UI is Jtest's default testing UI.
| Note |
|---|
| Jtest also lets you test individual JSP pages via the Class Testing UI and a set of JSP pages via the Project Testing UI. Because JSP (JavaServer Pages) is part of Java 2 Platform, Enterprise Edition (J2EE), and because Java 101 is Java 2 Platform, Standard Edition (J2SE)-specific, I do not discuss Jtest's JSP-testing support in this article. |
Use the Class Testing UI to test individual classes. This UI also lets you study the results of a class tested as part of a project test, and consists of a menu bar, a toolbar, a Class Name panel, a Test Progress panel, an Errors Found panel, and a status bar:
.ctp file (among other tasks). Test menu items start/stop static and dynamic analysis tests. View menu items display information
related to the current test, such as class test parameters. Preferences menu items let you customize Jtest settings, such
as choosing whether the default testing UI should be the Class Testing UI or the Project Testing UI. Tools menu items access
Jtest's tools, such as a tool for finding classes. The sole Window menu item lets you access the Project Testing UI. Finally,
Help menu items present help information, such as the Jtest user's guide and tutorial.
.class extension) in the text field or click the Browse button and use the resulting dialog box to select the appropriate classfile.
Figure 1 illustrates the various GUI (graphical user interface) elements that compose the Class Testing UI.