Project Test Parameters - Common Parameters, Search Parameters, Classes in Project
Common Parameters
See description in Global Test Parameters.
Directories
See description in Global Test Parameters.
Working directory
See description in Global Test Parameters.
Results
See description in Global Test Parameters.
Class Test Parameters Root
When you test a project, the Project Testing UI automatically creates the class test parameters for the individual classes found. This parameter determines what directory the class test parameter (.ctp) files are stored in.
The string $DEFAULT receives special treatment; it is replaced by a path relative to the location of the project test parameters (.ptp) file.
This parameter appears in most parameter levels.
javac/javac-like Parameters
See description in Global Test Parameters.
-classpath
See description in Global Test Parameters.
-cp
See description in Global Test Parameters.
System Properties
See description in Global Test Parameters.
-Xbootclasspath
See description in Global Test Parameters.
If Class is a Test Class
See description in Global Test Parameters.
Run the tests defined in the Class
See description in Global Test Parameters.
Test the Test Class itself
See description in Global Test Parameters.
Search Parameters
Contains parameters that control how Jtest searches for classes.
Skip classes already tested
If selected, Jtest will not retest a class if results for that class already exist and the class didn't change since the previous results were calculated. Jtest determines whether or not a class has changed by checking that both the .class file and the .java file contents have not changed. Timestamps are not considered.
Skip List
Opens a dialog box which lets you enter the names of specific classes that you do not want tested.
Test Only List
Opens a dialog box which lets you enter the names of the specific classes that you want tested.
Static Analysis
Contains parameters that control how Jtest searches for classes for static analysis.
Skip if .java file not found
If selected, Jtest will only perform static analysis on classes for which it finds a .java file.
Dynamic Analysis
Contains parameters that control how Jtest searches for classes for dynamic analysis.
Test public classes only
If selected, Jtest will perform dynamic analysis only on public classes.
Note that the non-public classes will be tested indirectly when called from the public classes.
Timeout
Specifies the maximum amount of time that Jtest will spend testing any one class in the project.
Classes in Project
Contains a list of all classes in the project. Also allows you to suspend and resume the finder's search for classes, and delete all individual class test parameters.
- To suspend the finder from searching for all classes in the project, right-click this node and choose Suspend Finder from the shortcut menu.
- To prompt the finder to resume finding classes in this project, right-click this node and choose Resume Finder from the shortcut menu.
- To delete all individual Class Test Parameters, right-click this node and choose Delete All Individual Class Test Parameters from the shortcut menu.
[Class Name]
Allows you to edit and reset the named class's Class Test Parameters, and open the named class in the Class Testing UI.
- To edit class test parameters, right-click this node and choose Edit Class Test Parameters from the shortcut menu.
- To reset all class test parameters to their default value, right-click this node and choose Reset Class Test Parameters from the shortcut menu.
- To load this class in the Class Testing UI (where you can focus on results for this class), right-click this node and choose Load Test in Class Testing UI from the shortcut menu.
|