(→Usage) |
(Added tests2html documentation) |
||
| Line 26: | Line 26: | ||
mtdv -s /usr/share/test-definition/testdefinition-syntax.xsd -x tests.xml -m /usr/lib/min/ -r "[S]" | mtdv -s /usr/share/test-definition/testdefinition-syntax.xsd -x tests.xml -m /usr/lib/min/ -r "[S]" | ||
| + | |||
| + | == tests2html == | ||
| + | |||
| + | === Introduction === | ||
| + | |||
| + | Tool for generating HTML documentation from test plans validating against [[Quality/QA-tools/Test-definition|test-definition]]. The tool pulls projects from gitorious, locates test XML files and creates the HTML documentation. Currently used at http://testplans.meego.com | ||
| + | |||
| + | === Usage === | ||
| + | |||
| + | Tool configuration is in <tt>/etc/tests2html/tests2html.ini</tt> where you define the git projects and a couple of other settings. The projects are cloned under <tt>/var/tmp/tests2html</tt>. The main idea is to run with cron, and the cron script is <tt>/etc/cron.hourly/tests2html</tt>. You need to enable that after you've configured the tool. Logger prints messages to stdout. | ||
| + | |||
| + | When running from command line you have the following command line options available: | ||
| + | -h, --help Display the help | ||
| + | -v, --verbose Set log level to DEBUG | ||
| + | -o, --offline Don't do anything with git. You need to run once | ||
| + | without this flag to get the projects, but after | ||
| + | that using offline mode makes debugging easier | ||
Contents |
MIN Test Definition Validator
Simple tool for validating test definition test case names with regular expression and also for checking that test definition includes all test cases which are defined in the MIN scripter files.
Validate tests.xml file(s)
mtdv -s /usr/share/test-definition/testdefinition-syntax.xsd -x tests.xml -x tests2.xml
Validate only tests.xml test case name(s)
mtdv -r "[S]" -x tests.xml -x tests2.xml
Validate MIN script test case name(s)
mtdv -r "[S]" -m /usr/lib/min/
Compare test tests.xml case list to MIN test case list and validate all test cases
mtdv -s /usr/share/test-definition/testdefinition-syntax.xsd -x tests.xml -m /usr/lib/min/ -r "[S]"
Tool for generating HTML documentation from test plans validating against test-definition. The tool pulls projects from gitorious, locates test XML files and creates the HTML documentation. Currently used at http://testplans.meego.com
Tool configuration is in /etc/tests2html/tests2html.ini where you define the git projects and a couple of other settings. The projects are cloned under /var/tmp/tests2html. The main idea is to run with cron, and the cron script is /etc/cron.hourly/tests2html. You need to enable that after you've configured the tool. Logger prints messages to stdout.
When running from command line you have the following command line options available:
-h, --help Display the help
-v, --verbose Set log level to DEBUG
-o, --offline Don't do anything with git. You need to run once
without this flag to get the projects, but after
that using offline mode makes debugging easier