With Unit Test Assistant you can easily create multiple test cases for methods from an abstract class and its super classes. The methods are analyzed to create runnable test cases with initial values and sample assertions, which can be easily modified or uncommented.

  1. If the Unit Test Assistant view is not already open, choose Parasoft> Show View> Unit Test Assistant from the Eclipse menu bar.
  2. Select a class in the editor.
  3. Click the Custom button.



  4. Select the methods you want to create test cases for.



  5. Click OK.
  6. View the tests to modify or uncomment the default UTA values if necessary.



  7. Run the test with UTA to collect coverage information and recommendations for possible improvements (see Executing Unit Tests with Unit Test Assistant).


  • No labels