Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## drv
Class emos_testsuite_driver

public class emos_testsuite_driver

This test processes the test suite table. A `test suite table` is an Excel table that defines what tests and in what order should they be run. For this to work there are four pieces if information necessary:

- `doit flag` stating wether to process or ignore the row
- `test script` to be executed
- `test table` containing test data to be used by the script
- `test set` the test cases from the test table to be executed

NOTE

If `doit flag` and/or `test set` are preceeded by "?", in interactive mode you are given the chance to superseed the given value.

The first two collumns mut be titeld "IDX" and "Name" because we use the FRM-interface to process the table (which requires this two columns). You may leave them empty and (we prefer it so) hide them.

Example

IDX | Name | Bearbeiten? | Testscript | Testtabelle | Testset | Kommentar
--- | --- | --- | --- | --- | --- | ---
|  | ja | the_script | some\table.xls | 1-5 | Tests 1,2,3,4,5 will be executed
|  | ?ja | the_script | some\other\table.xls | ?1-3,7,9,a,b,c | Test names can also be non-numeric, a popup dalog will appear twice

Parameters

- script_home: home directory for test scripts
- data_home: home directory for test data
- default_suite_table: name of the test suite table
- ask: (optional) TRUE: gives you the option to choose alternative suite table; FALSE: opens the defined table only [default]
- columns (optional) comma-separated string defining the titles of the four important columns [default:

      "Bearbeiten?,Testscript,Testtabelle,Testset"

  ]

Parameters

- E_OK: success
- !E_OK: failure

Stereotype main test
tsl emos_testsuite_driver.tsl

Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD