To change the prior status settings in the template, perform the following steps:
See Prior Status Pane for a description of this pane.
If you are creating a new template for these changes, instead of clicking the Done button, choose File > Save As from the Template Editor menu bar and save the template with a relevant name.
By choosing Select tests that match, you can run tests with restrictions based on their result from a prior test run. The following table describes the available Prior Status filter selections.
Prior Status | Action |
---|---|
Passed | Selects tests that passed the last time the test was executed. |
Failed | Selects tests that failed the last time the test was executed. |
Error | Selects tests that the harness could not execute the last time it was included in a test run. |
Not Run | Selects tests without results in the current work directory. |
Prior status is evaluated on a test-by-test basis using information stored in
the result files (.jtr
) that are written in
the work directory. Unless overridden by a test suite, a result file is written
in the work directory for every test that is executed. When users change work
directories between test runs, the result files in the previous work directory
are no longer used and, if the new work directory is empty, the harness
behaves as though each test in the test suite was not run.
Copyright © 2008 Sun Microsystems, Inc. All rights reserved.