Skip to content

johnnywoo/phpunit-runner-teamcity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpunit-runner-teamcity

This is a PHPUnit runner for TeamCity. It makes use of TeamCity service messages to report unit test results directly to TeamCity.

Advantages over official meta-runners:

  1. It's a shell script, which you can easily use in your build scripts, unlike a meta-runner;
  2. It reports test results live, as opposed to waiting for the whole suite to finish.

Usage

You need to have php and phpunit in your PATH.

cd /path/with/project
phpunit-tc

All phpunit command line arguments are supported, except --configuration (-c), which will disable TeamCity output.

You can symlink phpunit-tc into your PATH, for example sudo ln -s .../phpunit-tc /usr/bin/phpunit-tc. Do not make a hard link!

About

PHPUnit runner for TeamCity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 97.9%
  • Shell 2.1%