lotaris/rox-client-phpunit

PHPUnit client for submitting test results to ROX Center.

v0.1.3 2014-08-05 14:22 UTC

This package is not auto-updated.

Last update: 2024-04-23 01:08:59 UTC


README

PHPUnit listener to send results to ROX Center.

PHP version

Installation

Add the dependency to your composer.json file:

{
  "name": "My Project",
  "require-dev": {
    "lotaris/rox-client-phpunit": ">= 0.1.0"
  }
}

Update your composer.lock file:

php composer.phar update lotaris/rox-client-phpunit

Requirements

  • PHP 5.3 or higher

Usage

To track a test, you must assign it a ROX test key generated from your ROX Center server.

Test keys are assigned to a test using the @RoxableTest annotation:

use Lotaris\RoxClientPHPUnit\RoxableTest;

/**
 * @RoxableTest(key="ed0f4c560c33")
 */
public function testTheTruth() {
  $this->assertTrue(true);
}

Contributing

  • Fork
  • Create a topic branch - git checkout -b feature
  • Push to your branch - git push origin feature
  • Create a pull request from your branch

Please add a changelog entry with your name for new features and bug fixes.

License

rox-client-phpunit is licensed under the MIT License. See LICENSE.txt for the full text.