PHPUnit Test Starter for Phwoolcon Projects
Please use this library in your phwoolcon project repository (For example phwoolcon/phwoolcon
).
-
Checkout your project code;
-
Edit
composer.json
:vim composer.json
Add
phwoolcon/test-starter
torequire-dev
property:{ ... "require-dev": { "phwoolcon/test-starter": "~1.0" }, ... }
-
Edit
phpunit.xml.dist
:vim phpunit.xml.dist
Replace
bootstrap
asvendor/phwoolcon/test-starter/start.php
:<phpunit bootstrap="vendor/phwoolcon/test-starter/start.php" ...> ... </phpunit>
Then
composer update
and run your unit test.
If you run bin/cli package:create
to create your new package, then this library has been included.
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The Apache License, Version 2.0. Please see License File for more information.