PREVIOUS | NEXT
Manage Unit Tests
Search for Unit Test
Workflow displays existing unit tests in the file section of the Scripts workspace. You can search or filter for unit tests by typing a partial unit test name in the search field. Workflow displays all script types that match the name you entered in the search field. You can also use the Advanced link next to the search box to filter all unit tests.
When you right click on a unit test, Workflow displays these available actions:
Edit Unit Test
To edit an existing unit test go to Setup > Development > Scripts.
Right click on a unit test and select the Edit action, or double-click to open the script.
Update the unit test and click Save.
Workflow enables you to run all unit tests simultaneously.
Go to the Setup > Development > Scripts, then right-click on a folder, such as on the Root folder.
Select Run Tests to execute the unit tests in all subfolders. You can also right-click on the target folder and select Run Tests. Workflow expands the folder and displays the scripts and subfolders.
Workflow runs the tests and displays a summary of test results in the Results tab. We display how many tests executed successfully, with errors, and with failures.
We also display the test name with a link to open the test, and display the status of the test in the Test Status column.
You can also run one test at a time. To run a test, open the test from the file manager and then click the Run Test button. Workflow will display the results of the test in the Output tab.
See Unit Test Script Example for more information.