Unit Test Assistant can help you create parameterized test cases to test individual methods against different arguments.
- Ensure that framework for creating parameterized tests has been configured (see Configuring Preferences).
- If the Unit Test Assistant View is not already open, choose Parasoft> Show View> Unit Test Assistant from the Eclipse menu bar.
- Select the method in the editor.
- Click the Parameterized button.
- Complete the test template with parameters and modify the default UTA values.
- Run the test with Unit Test Assistant to collect coverage information and recommendations for possible improvements (see Executing Unit Tests with Unit Test Assistant).