This page (revision-10) was last changed on 26-Nov-2015 11:24 by Albrecht Striffler

This page was created on 26-Oct-2012 10:15 by unknown

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
10 26-Nov-2015 11:24 1 KB Albrecht Striffler to previous
9 26-Nov-2015 11:21 1 KB Albrecht Striffler to previous | to last
8 26-Nov-2015 11:19 994 bytes Albrecht Striffler to previous | to last
7 26-Nov-2015 11:16 946 bytes Albrecht Striffler to previous | to last
6 26-Nov-2015 11:16 964 bytes Albrecht Striffler to previous | to last
5 26-Nov-2015 11:15 1 KB Albrecht Striffler to previous | to last
4 26-Nov-2015 11:14 1 KB Albrecht Striffler to previous | to last
3 26-Nov-2015 11:07 944 bytes Albrecht Striffler to previous | to last
2 26-Nov-2015 11:01 957 bytes Albrecht Striffler to previous | to last
1 26-Oct-2012 10:15 960 bytes unknown to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 changed one line
!!! How to run a test case
!!! How to run a Test Case
At line 3 changed one line
A test suite is run by using the test case player markup. This markup allows you to specify which test case you want to run. The test case player can be used in the following way.
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.
At line 5 added 2 lines
It is created the following way:
At line 10 changed one line
renders as:\\
Renders as:\\
At line 12 changed one line
[{Image src='TestCasePlayer-screenshot.png' caption='Screenshot of a TestCasePlayer' width='..' height='..' align='center' style='..' class='..' }]
[{Image src='TestCasePlayer-screenshot.png' caption='Screenshot of a TestCasePlayer' width='800' height='..' align='center' style='..' class='..' }]
At line 14 removed one line
The annotation ''uses'' specifies the package, where the test cases are defined.
At line 16 removed one line
At line 19 changed one line
Clicking the green arrows allows to run the test-case line until the respective line. The success of the test in each line 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.
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.
At line 22 added 2 lines
On the right side, you can add additional questions and solutions to be displayed for the current case. For each executed row, it will show the value the question or solution had at this step.