phwoolcon/test-starter

PHPUnit Test Starter for Phwoolcon Projects


Keywords
phpunit, test, phwoolcon
License
Apache-2.0

Documentation

test-starter

Latest Version on Packagist Build Status Coverage Status Quality Score Total Downloads Software License

PHPUnit Test Starter for Phwoolcon Projects

Usage

Please use this library in your phwoolcon project repository (For example phwoolcon/phwoolcon).

For Legacy Projects

  1. Checkout your project code;

  2. Edit composer.json:

    vim composer.json

    Add phwoolcon/test-starter to require-dev property:

    {
        ...
        "require-dev": {
            "phwoolcon/test-starter": "~1.0"
        },
        ...
    }
  3. Edit phpunit.xml.dist:

    vim phpunit.xml.dist

    Replace bootstrap as vendor/phwoolcon/test-starter/start.php:

    <phpunit bootstrap="vendor/phwoolcon/test-starter/start.php" ...>
        ...
    </phpunit>

    Then composer update and run your unit test.

For Newly Created Packages

If you run bin/cli package:create to create your new package, then this library has been included.

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email fishdrowned@gmail.com instead of using the issue tracker.

Credits

License

The Apache License, Version 2.0. Please see License File for more information.