This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

How to run the tests

Some easy steps to run the tests:

mago syntax

Usage: mago [OPTIONS]

Options:
  -h, --help            show this help message and exit
  -l FILE, --log=FILE   The file to write the log to.
  --log-level=LOG_LEVEL
                        One of debug, info, warning, error or critical.
  -a APPLICATION, --application=APPLICATION
                        Application name to test. Option can be repeated and
                        defaults to all applications
  -s SUITE, --suite=SUITE
                        Suite name to test within applications. Option can be
                        repeated and default to all suites
  -f FILE, --file=FILE  XML file name of the suite to test within
                        applications.  
  -t FILE, --target=FILE
                        Target directory for logs and reports. Defaults to:
                        ~/.mago
  -c CASE, --case=CASE  Test cases to run (all, if not specified).

Logging

By default, logs are written at ~/.mago. This folder can be changed using the -t option (see above).

Two different logs are written per test:

Applications with some test coverage


2024-10-23 11:37