testrunner-lite

Langue: en

Version: April 2010 (MeeGo - 06/11/10)

Section: 1 (Commandes utilisateur)

NAME

testrunner-lite - generic test executor tool

SYNOPSIS

testrunner-lite [options]

DESCRIPTION

testrunner-lite is a tool for executing test commands. It is designed to be a lightweight wrapper for various test harnesses. The tool is driven by input XML file containing the test definitions (suite, set, case, step). Tests are executed as instructed in the input XML file and the output is written to result XML or text file.

OPTIONS

-h, --help
Display short help and exit
-V, --version
Display version and exit
-f FILE, --file FILE
Input file with test definitions in XML (required)
-o FILE, --output FILE
Output file format; FORMAT can be xml or text (Default xml)
-v, -vv, --verbose[={INFO|DEBUG}]
Enable verbosity mode; -v and --verbose=INFO are equivalent outputting INFO, ERROR and WARNING messages. Similarly -vv and --verbose=DEBUG are equivalent, outputting also debug messages. Default behaviour is silent mode.
-L URL, --logger=URL
Remote HTTP logger. Log messages are sent to given URL in a HTTP POST message. URL format is [http://]host[:port][/path/], where host may be a hostname or an IPv4 address.
-S, --syslog
Enable logging to syslog.
-P, --print-step-output
Output standard streams from test steps.
-a, --automatic
Enable only automatic tests to be executed
-m, --manual
Enable only manual tests to be executed
-l FILTER, --filter=FILTER
Filtering option to select tests (not) to be executed. E.g. '-testcase=bad_test -type=unknown' first disables test case named as bad_test; Next, all tests with type unknown are disabled; The remaining tests will be executed. If filter type is prepended with '-' it is a blacklist filter, '+' or no prefix specifies white list filter. A filter can have multiple values separated by ','. E.g. 'testset=foo,wuz' would execute tests from test sets foo and wuz.
-c, --ci
Disable validation of test definition against schema
-s, --semantic
Enable validation of test definition against stricter (semantics) schema
-A, --validate-only
Do only input xml validation, do not execute tests
-H, --no-hwinfo
Do not try to obtain hardware information
-t [USER@]ADDRESS, --target=[USER@]ADDRESS
Enable host-based testing. If given, commands are executed from test control PC (host) side. ADDRESS is the ipv4 adress of the system under test.

EXIT STATUS

0
Successful program execution.
1
Invalid arguments.
2
Connection failure during host based testing.
3
Test definition xml parsing failed.
4
Test definition xml semantically incorrect.
5
Can not create output folder for results.
6
Failed to create xml reader for parsing.
7
Failed to initialize result logging.

FILES

/usr/share/test-definition/testdefinition-syntax.xsd
/usr/share/test-definition/testdefinition-tm_terms.xsd
Test definition schema files. See test-definition(5) for further details.

AUTHOR

Written by Riku Halonen, Sami Lahtinen and Sampo Saaristo.

BUGS

All filter types are not supported. Currently supporting filters of type 'testcase', 'testset', 'requirement', 'feature' and 'type'
 

REPORTING BUGS

Report bugs to test-tools-dev@projects.maemo.org testrunner-lite, © Nokia 2010, licensed under the GNU Lesser General Public License version 2.1, Contact: Ville Ilvonen, ville.p.ilvonen@nokia.com

SEE ALSO

test-definition(5)