Java Coverage Validator Tutorial
This document is intended to augment the information in the Java Coverage Validator Help file. If you have not read the help file we encourage you to do so. Java Coverage Validator is a powerful and complex product, reading the help manual will help you use Java Coverage Validator more efficiently.
Example Application
The example application is jcvExample.java in the jcvExample folder in the installation folder.
The following tutorials are available. More tutorials will be made available in response to customer feedback.
The tutorials use the included example program jcvExample. The source code and project files for this application are in the jcvExample directory in the installation directory for Java Coverage Validator.
- Getting started. Introducing the example application.
- Why is Coverage Testing Important?. Why Coverage Testing should be a vital part of your software quality process.
- Profiling the sample application.
- Profiling the sample application, take two.
- Profiling the sample application, take three.
- Wizard Mode/Dialog Mode.
- Interactive profiling. Using visual results to guide testing.
- Merging samples. Combining multiple sets of coverage results.
- Automatic merging. Combining multiple sets of coverage results without human interaction.
- Running from the command line.
- Running and merging from the command line.
- Unit testing for quality. Identifying untested code.
- Regression testing. Automatically identifying untested code.
- Identifying unused code using Java Coverage Validator.
- Working with applications started from batch files (Tomcat etc).
Feedback
If you would like a tutorial on how to use Java Coverage Validator to perform a given task, we will be happy to provide a tutorial, just let us know what topics you need the tutorial to cover. Send your suggestions to support@softwareverify.com.

