phwoolcon / test-starter
PHPUnit Test Starter for Phwoolcon Projects
Requires
- phpunit/phpunit: ~4.0|~5.0|~6.0
- squizlabs/php_codesniffer: ~3.0
Requires (Dev)
- phwoolcon/phwoolcon: ~1.0
This package is auto-updated.
Last update: 2024-10-29 04:42:12 UTC
README
PHPUnit Test Starter for Phwoolcon Projects
Usage
Please use this library in your phwoolcon project repository (For example phwoolcon/phwoolcon
).
For Legacy Projects
-
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.
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.