TeamCity uses a non-standard specific test execution report format. This extension adds TeamCity support for atoum by supporting this particular report format.
$ composer require atoum/teamcity-extension '~1.0'
To always enable the extension, the
.atoum.php configuration file must be edited to add:
use atoum\teamcity; $extension = new teamcity\extension($script); $extension->addToRunner($runner);
If you would like to enable the extension only when tests run from within a TeamCity environment, write:
$extension = new teamcity\extension($script); $extension->addToRunnerWithinTeamCityEnvironment($runner);
The following screenshot shows the tests of this extension displayed in a TeamCity instance:
Before running the test suites, the development dependencies must be installed:
$ composer install
Then, to run all the test suites:
$ vendor/bin/atoum --test-ext
Please, see the
LICENSE file. This project uses the same license than atoum.