184.108.40.206.Running Multiple Tests
You have multiple ways of running tests using MarathonITE. You can run the test currently loaded into the script editor, run multiple tests using the Test Runner view or use batch mode to run the test scripts without the UI.
Now that you know how to record a test, you can go ahead and record more tests. This tutorial shows with a single test - however, the same applies to multiple test scripts.
Running a single test from the editor
Ensure your test script is loaded into the current editor. Use the Navigator to open the test script if it is not already open.
With the test script loaded into the editor, select
Marathon -> Play button to execute the test. Alternatively, you can use
Control+P key stroke or the Play button on the toolbar.
MarathonITE executes the test. The results are shown in the Results view. You might not have anything in the result view if the test case is executed without any errors or failures.
Running tests using Test Runner
MarathonITE includes a test runner view to execute multiple tests.
Select the TestCases folder from the Navigator view and select
Play option from the context menu displayed when you rightclick. MarathonITE opens a TestRunner view and executes all the tests from the folder.
If there are any failures or errors in the test scripts, the details are shown in the Trace section of the Test Runner view.
Runing tests in batch mode
You can run tests using MarathonITE batch mode. For running all tests from the project use the following command:
marathonite -batch [path-to-the-folder] AllTests
MarathonITE creates a marathonite-reports folder in which the results of the tests are written. MarathonITE uses the default browser selected from the Browser option. You can override it with -browser option.
You can select only some tests to execute using various options of marathonite command.