# Regression Test Editor Window

The Regression Test Editor allows you to add or remove projects, tests, algorithms, and subsystems using the pushbuttons or matching menu options found in the Tools menu. The Tools menu also includes a Clear Algorithms and Clear All option, which remove all algorithms and subsystems from the selected project and clears all items from the Regression Test Editor respectively.

Subsystems are treated like algorithms so to remove a selected subsystem or algorithm the Remove Algorithm option is used. Algorithms are added to projects using the Algorithm Editor and subsystems are added to subsystem-specfic algorithms with the Subsystem Editor. These editors can also remove algorithms and subsystems from a project.

The Regression Test Editor's first column displays the name of the project, test, algorithm, or subsystem. The second column displays the project type, test label, algorithm result, and subsystem result. Please Note: only projects may have algorithms added to them, tests are a collection of projects, algorithms, and tests that can be saved and modified.

To edit a previously saved test, double-click on the test to open an "edit-only" Regression Test Editor window. This editor provides the same functionality as the original editor, expect it will not allow you to execute the test. It will also not allow you to create a new Regression Test (this option is greyed out in the File menu).

If you double-click a test within the "edit-only" editor, another "edit-only" editor will be displayed for that test. Similarly, double-clicking a project or non-subsystem-specific algorithm will display the Algorithm Editor for that project. Double-clicking a subsystem-specific algorithm or subsystem will display the Subsystem Editor for that algorithm.

Click the Run Test button or select the Run | Run Test menu option to get results for your chosen projects and algorithms. The results are displayed in the Regression Test Output window. When a test or project is added to the Regression Test Editor, only its name and type attributes are stored in the editor; the project and test data is not loaded until Run Test is clicked. This allows you to edit a project with DESpot's Project Editor or edit a test with the Regression Test Editor and save the changes to disk before running the test, and have updated information to run the algorithms on. Please Note: if you are editing the same test in two separate Regression Test Editors, the one that is saved most recently will be the version used in both cases.

Before any algorithms are run on a project, an integrity check is completed to ensure the project passes. If the project fails the integrity check, none of the algorithms are run and the output will be labelled with "Integrity Error".

« Regression Test Suite | Algorithm Editor »