phwoolcon/test-starter

PHPUnit Test Starter for Phwoolcon Projects

v1.0.4 2018-08-21 09:54 UTC

This package is auto-updated.

Last update: 2024-10-29 04:42:12 UTC


README

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.