Skip to content

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

License

Notifications You must be signed in to change notification settings

ekapusta/teamcity-phpspec-extension

 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 97.9%
  • Shell 2.1%