A test case is run by using the TestCasePlayer markup. This markup is a common viewer and runner for all types of test cases specified in KnowWE.
It is created the following way:
%%TestCasePlayer %
Renders as:
In the drop down menu on the top left you can choose any test case that is defined in the same package as the TestCasePlayer markup itself. Clicking the arrows in the first column will execute all rows up to that row. The success of the test in each row is shown by color highlighting of the check cell (green: passed; red: failed). With the red button on top the test execution can be reset to restart testing from scratch.