This page (revision-26) was last changed on 23-Jun-2015 15:04 by Albrecht Striffler

This page was created on 17-Dec-2012 16:38 by Joba Baumeister

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
26 23-Jun-2015 15:04 3 KB Albrecht Striffler to previous
25 17-Dec-2012 17:24 3 KB Joba Baumeister to previous | to last
24 17-Dec-2012 17:04 2 KB Joba Baumeister to previous | to last
23 17-Dec-2012 17:03 2 KB Joba Baumeister to previous | to last
22 17-Dec-2012 17:02 2 KB Joba Baumeister to previous | to last
21 17-Dec-2012 17:01 2 KB Joba Baumeister to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 7 lines
!!! Defining Automated Test Cases
It is possible to define test cases for a knowledge base within the wiki.
For each test case the answers of questions together with the expected solutions are described.
In the examples below, one test case for an "unpowered printer" and one test case for an "unconnected printer" is depicted.
{{{
At line 25 added one line
}}}
At line 27 added 25 lines
When inserting the test cases into an article, they are printed as below:
%%TestCase
No power on printer {
Please specify your problem = Printer does not print,
Please check the power supply of the printer = Printer is not connected or power is off :
No power supply (established);
}
%
%%TestCase
Unconnected printer {
Please specify your problem = Printer does not print,
Please check the power supply of the printer = Printer is connected and power is on,
How is the printer connected to your computer = Connected by cable,
Is the cable plugged into the printer and the computer = No :
Cable not connected (established);
}
%
!!! Running Test Cases
A test case player can be inserted into an article by using the following markup
{{{
At line 55 added one line
}}}
At line 57 added one line
Please note, that in the {{uses}} annotation the package name of your knowledge base project needs for be defined.
At line 59 added 6 lines
%%TestCasePlayer
@uses: Printer_Demo
%