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.

Generating and running Unit Tests

LegacyForum
LegacyForum Posts: 1,664 ✭✭
edited December 2016 in Jtest
The documentation says for the option 'Generating and Run Unit Tests' the Jtest generates Test Cases for classes without existing test classes and classes with old test classes. If i change the code and the old test cases are no longer valid, will this option overwrite the old test class with new teast cases or will it use the old test class which has been generated before the code is changed when it executes the test case?

Comments

  • LegacyForum
    LegacyForum Posts: 1,664 ✭✭
    When you change the tested class and use the builtin configuration, "Generate and Run Unit Tests", Jtest will overwrite the old test class with new tests.