-
Notifications
You must be signed in to change notification settings - Fork 5
create a test suite
Aymen Bouchekoua edited this page Apr 5, 2016
·
4 revisions
A test suite is a plain text file, describing one or more test campaigns.
A campaign is a set of scripts.
|| **campaign** || {{name}} ||
|{{script name(1)}}| {{script relative path}}|
...
Here below is an example of a campaign named TNR CAMPAIGN V1
with 2 scripts.
|| campaign || TNR CAMPAIGN V1 ||
| Dupliquer les flux de reference | ../pilote/xml.integration.script |
| Dupliquer les flux de reference | ../pilote/login.web.script |
In order to run a test, you need to create a class that extends AbstractProjectRunner
class.
May you have a MongoDB instance, the Project runner supports execution history.
Hence, each execution will be compared to previous one.
A Test Campaign Report hosts a status for the campaign and the execution details for each script referenced.
The TOAST TK Examples project contains an example of test suite execution.