dimitri-koenig / teamcity-phpspec-extension

TeamCity extension to display phpspec execution results in real-time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PhpSpec extension for TeamCity CI, supporting phpspec v5 and php 7.1 & 7.2

Formats PhpSpec output to make TeamCity display spec execution results in real-time.

Build Status

Installation

Add the following to your composer.json config:

    "require": {
        "pawel-grzona/teamcity-phpspec-extension": "dev-master"
    },
    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/dimitri-koenig/teamcity-phpspec-extension"
        }
    ],

Configuration

In your phpspec.yml:

extensions:
    PhpSpec\TeamCity\Extension: ~

Usage

./phpspec run -f teamcity

TeamCity Configuration

  • Add a Build Step
  • Runner Type: Command line
  • Run: Custom Script
  • Custom Script: /path/to/phpspec run -f teamcity
  • phpSpec tests will be included in the overall test count along with phpUnit, etc.

Requirements

PHP 7.1+

About

TeamCity extension to display phpspec execution results in real-time.

License:Other


Languages

Language:PHP 97.9%Language:Shell 2.1%