GithubHelp home page GithubHelp logo

hywan / atoum-teamcity-extension Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 72 KB

Add TeamCity support for atoum

Home Page: https://mnt.io/2017/11/06/atoum-supports-teamcity/

License: Other

PHP 100.00%
php testing test-framework atoum teamcity phpstorm

atoum-teamcity-extension's Introduction

atoum's logo + TeamCity's logo with floating hearts


atoum/teamcity-extension Build Status

atoum is a PHP test framework. TeamCity is a software developed by Jetbrains for Continuous Integration (CI) and Continuous Delivery (CD).

TeamCity uses a non-standard specific test execution report format. This extension adds TeamCity support for atoum by supporting this particular report format.

Installation

With Composer, to include this extension into your dependencies, you need to require atoum/teamcity-extension:

$ 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:

The extension in action inside TeamCity

Testing

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

License

Please, see the LICENSE file. This project uses the same license than atoum.

atoum-teamcity-extension's People

Contributors

harikt avatar hywan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.