pawel-grzona / teamcity-phpspec-extension
Makes TeamCity display phpspec execution results in real-time.
Installs: 64 867
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 7
Open Issues: 3
Requires
- php: >=5.3.0
- phpspec/phpspec: ~2.0
README
#PhpSpec extension for TeamCity CI
Formats PhpSpec output to make TeamCity display spec execution results in real-time.
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+