Skip to content

About

A test runner for PHPUnit.

Resources

Stars

8 stars

Watchers

2 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPUnit TestRunner

This very simple test runner was inspired by karma (another test runner for javascript).

Blog post: http://uyi.ehondor.com/blog/simple-php-testrunner-using-phpunit/

How to install

$ npm install phpunit-testrunner

Usage

$ phpunit-testrunner -c path/to/configuration/file.js

Use the following as a template for the required configuration file.

{
    "rootPath": ".",
    "fileOrDirectoriesToWatch": [
        "src/Acme"
    ],
    "commandArguments": [
        "-c",
        "app/phpunit.xml", 
        "--testsuite",
        "TestSuite"
    ]
}

###TODO

  • Add better documentation
  • Add a --version option
  • Add unit tests

About

A test runner for PHPUnit.

Resources

Stars

8 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages