Chapter 6. Create a launch configuration

To execute a test case, a launch configuration has to be created. Open the Run wizard from the toolbar or the menu entry RunRun…. In the wizard, select PETA Test and press the New button to create a new PETA launch configuration. In the name field, a name for this launch configuration has to be entered. In the Project tab, the project TutorialProject, the project's configuration config and the setup Simulated that shall be used have to be specified.

Figure 6.1. Defining a runner's project

Defining a runner's project


In the Suite/Case tab, select Case and specify requestCourseList as the test case that shall be executed.

Figure 6.2. Defining a runner's test case

Defining a runner's test case


In the Options tab, the PETA log level can be defined. Set it to INFO to get a detailed log. Additionally, the generation of a report of the test run result and opening it in a Test Report view may be forced by selecting Automatically show generated report of test results .

Figure 6.3. Defining the log level

Defining the log level


To start the execution, press the Run button. The test case execution is logged to the Console view. The result of the run is shown in the Test Run view that is automatically opened.

Figure 6.4. Test run result

Test run result