Next: , Previous: pausecombiner keyword, Up: Test Case control


5.7.7 run keyword

The run keyword is used to start a specified test case. It has several mandatory and optional arguments, described below.

Mandatory arguments
testmodule
The test module name.
configfile
The test case configuration file. If does not contain path but only filename then $HOME/.min path is used.
Test case number
The test case number to be executed from configfile.
Optional arguments
expect
The expected result default 0 = ENOERR
testid
Test case identification, which is used by other keywords to identify the test case

Note: Avoid using the same testid for many test case runs

Ini
The initialization file for test module (not supported yet)
category
The result category; either normal, leave, panic, exception or timeout
timeout
Test case timeout.
title
Test case title. If given, following rules must be held:

The run keyword can be used for example in the following way:

     run netmodule net.cfg 5 testid=test1 expect=3 ini=ini.txt
     run netmodule net.cfg -1 testid=test2 title="My test case example"