phpunit-testrunner

0.0.2 • Public • Published

PHPUnit TestRunner

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

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 a better documentation
  • Add a --version option
  • Add unit tests

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i phpunit-testrunner

    Weekly Downloads

    5

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • cyberuyi