Unit Test Assistant can analyze your code to generate compilable unit tests for individual methods. It generates runnable test templates that include 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 method in the editor.
  3. Click the Quick button to create a test for the selected method.

  4. Click OK
  5. Uncomment the assertions and modify the default UTA values if necessary.



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

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.