How do I achieve 80%+ coverage with Jtest?

LegacyForumLegacyForum Posts: 1,669 ✭✭
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:
Sign In or Register to comment.