pawel-grzona/teamcity-phpspec-extension

Makes TeamCity display phpspec execution results in real-time.

Installs: 65 155

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 0

Forks: 7

Open Issues: 3

pkg:composer/pawel-grzona/teamcity-phpspec-extension

2.0.6 2015-04-23 10:04 UTC

This package is not auto-updated.

Last update: 2025-10-06 20:04:21 UTC


README

#PhpSpec extension for TeamCity CI

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

Build Status Scrutinizer Code Quality Build Status

The 2.* version has been rebuilt from scratch to work with phpspec/phpspec rather than phpspec/phpspec2 and as such is not backward compatible.

Installation

In your composer.json:

{
    "require-dev": {
        "pawel-grzona/teamcity-phpspec-extension": "2.*"
    }
}

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 5.3+