Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

How do I achieve 80%+ coverage with Jtest?

Options
LegacyForum
LegacyForum Posts: 1,664 ✭✭
edited December 2016 in Jtest
Parasoft Jtest typically achieves 60-70% code coverage ?out of the box? by analyzing your code. Additionally, by monitoring a running application, Jtest can create tests with the ?real sequences of calls? and ?real data values? used as the application is exercised.

If necessary, these test cases can then be extended to increase code coverage further:
- By defining instances of complex objects for reuse during testing
- By isolating the code from the environment
- By running existing tests over ranges of values, and for desired input/output values
- By manually adding initialization code to the existing tests to perform necessary system initializations
Tagged: