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.
- If the Unit Test Assistant view is not already open, choose Parasoft> Show View> Unit Test Assistant from the Eclipse menu bar.
- Select a class in the editor.
- Click the Custom button.
- Select the methods you want to create test cases for.
- Click OK.
- View the tests to modify or uncomment the default UTA values if necessary.
- Run the test with UTA to collect coverage information and recommendations for possible improvements (see Executing Unit Tests with Unit Test Assistant).
1 Comment
Anonymous
teleprompt online