3.9.3.Organizing Tests in Suites
You can organize tests in MarathonITE using Test Suite. A suite is a generic grouping mechanism in MarathonITE. A suite can contain tests, features, stories, folders and also other suites.
A suite can not include itself either directly or indirectly.
Working with Suites
MarathonITE stores the suite information in files with extension
Suites folder. The content is stored in JSON format.
To create a new suite, select
File->New->New Suite option from the menu.
MarathonITE displays a popup window. Provide the name of the suite and click on
MarathonITE creates the new suite and opens it in the editor. The editor displays two panes. The left pane displays all the tests, features, stories etc. that are available and the right pane contains the list of tests added to the suite.
Drag and Drop the tests into the suite. You can rearrange the order of tests by using the
Down buttons. Remove tests from the suite using
Click button or
CMD+S on Mac) to save the suite.
To execute all the tests in a suite, select
Play option from the context menu. MarathonITE opens the Test Runner view and executes the tests.
Batch Running of Suites
You can execute one or more features using MarathonITE batch mode.
marathonite.bat -batch <Project Path> +suite1 +suite2...
Reports in Suites
MarathonITE doesn't group the tests as suites in the reports because they are generic. Other grouping mechanisms are used to display the test organization.