Skip to content

Rewrite how functional tests are implemented

Sam Thursfield requested to merge sam/functional-tests-quiet into master

This commit makes some big improvements to the functional tests.

The key change is that they are now started using D-Bus autolaunch on a private D-Bus daemon, rather than by manually invoking them. This simplifies the test harness code. A lot of code is now in the utils/trackertestutils library and is shared with tracker-miners.git and with the recently updated tracker-sandbox utility.

The log output from the tests is much improved. By default they only show errors and warnings from the Tracker daemons. See the new HACKING.md file for details on how to get more detailed logging output.

In particular you can now set TRACKER_VERBOSITY and/or TRACKER_TESTS_VERBOSE as variables in a GitLab CI pipeline to run tests on a branch and see verbose log output.

Fixes #123 (closed)

Merge request reports