3
Mago is an desktop testing initiative, built on top of LDTP (http://ldtp.freedesktop.org/), that aims to have a set of processes and code to make writing automated test scripts easier and more reusable. Although we started this effort as an Ubuntu project it works for vanilla GNOME in most of the cases.
3
Mago is a desktop testing initiative, built on top of LDTP (http://ldtp.freedesktop.org/), that aims to have a set of processes and code to make writing automated test scripts easier and more reusable. Although we started this effort as an Ubuntu project it works for vanilla GNOME in most of the cases.
26
Execute automated tests
27
29
-h, --help show this help message and exit
28
-l FILE, --log=FILE The file to write the log to.
30
One of debug, info, warning, error or critical.
31
-a APPLICATION, --application=APPLICATION
30
-i, --info Display information about test cases without executing
33
Test selection options:
34
-a APPLICATION, --application=APPLICATION
32
35
Application name to test. Option can be repeated and
33
36
defaults to all applications
34
-s SUITE, --suite=SUITE
37
-n NAME, --suite_name=NAME
35
38
Suite name to test within applications. Option can be
36
repeated and default to all suites
37
-f FILE, --file=FILE XML file name of the suite to test within
39
-t FILE, --target=FILE
39
repeated and default to all suites unless suite name
40
or suite file filtering has been enabled
41
-f FILE, --suite_file=FILE
42
Suite file to test within applications. Option can be
43
repeated and default to all suites unless suite name
44
or suite file filtering has been enabled
46
Test cases to run (all, if not specified).
50
The file to write the log to.
52
One of debug, info, warning, error or critical.
40
54
Target directory for logs and reports. Defaults to:
42
-c CASE, --case=CASE Test cases to run (all, if not specified).
59
By default, logs are written at ~/.mago. This folder can be changed using the -t option (see above).
61
Two different logs are written per test:
62
* A XML file, easier to parse.
63
* A HTML file, better for reporting.