Scenario-based testing consists of testing a particular sequence of method calls from one or several public classes. When you create a scenario-based test, a single test case is created based on the sequence of method calls selected in the wizard.
This starts the New Java Component Test wizard.
At this point, a static analysis is performed on the Java source files associated with the test project. These files were selected during the creation of the test project and serve to define the scope of the test. (The list of files in the project can be updated by modifying the test project's Test Scope properties.)
When the analysis is complete, you will see a list of components in a table format and sorted according to the computed metrics. You can use the guidance that these metrics provide to help you decide which classes or components are most important for you to test. Components with highlighted values or high numerical values are considered high-priority test candidates.
Related concepts
Static metrics
Standard Java test patterns
Related tasks
Creating new component test projects
Related reference
Static metrics reference