Pyrering is a test runner written by Google to be used to run their automated tests (command line tests). Hwtest is the test runner written by Ubuntu to run their hardware tests, though it can be used to run any other test.

Both systems have their own configuration files to describe test suites and their own log system. We would like to modify hwtest to align these files to the Pyrering format. The objective is to be able to run tests both in Pyrering and hwtest without the need of modify the configuration files.

Config Files

Pyrering

The first time pyrering.py is run, a config file (conf/pyrering.conf) is created. This file contains fixed options for pyrering. A list of this options can be found at http://code.google.com/p/pyrering/wiki/PyreRingUsage#Configuration_File_Options

hwtest

Integration

Test Suite Files

Pyrering

When running pyrering you have to pass a .suite file indicating which tests from the test folder to run.

hwtest

Integration

Log files

Pyrering

Each time a test suite is run with pyrering two log files are edited:

Testing/Automation/PyreringHwTest (last edited 2008-08-06 17:00:28 by localhost)