!!!TestcaseTable
Alternatively to sequential testcases ([Doc TestCase]) there is another way to define a test case using the TestCaseTable.
{{{
%%TestCaseTable
|| Time || Engine noises|| "Check: Ignition timing."||"Average mileage /100km"|| Checks
| 0s | ringing | | | Bad ignition timing = Suggested
| 1s | ringing | ok | 10.0 | Bad ignition timing = Excluded
@package: demo
@name: TableTestCase
%
}}}
Renders as:
[{Image src='TestCaseTable-screenshot.png' caption='Screenshot of a TestCaseTable' width='..' height='..' align='center' style='..' class='..' }]
It is possible to specify a name and a time for each row of the line in the first two columns (name must occur before time). If a column header is named "Checks" this column specifies checks being executed in that line. All conditions from the rule markup can be used as checks. On all other columns a question must be referenced in the header cell and a compatible value in the table cells.
The annotation name optionally specifies a name of the table, if no name is specified, the tables gets numbered.
!! Related Doc Pages
* [Doc TestCasePlayer]
* [Doc TestCase]
* [Doc TestCaseSessionRecord]
%%tags
Documentation testcase tables
%