dev-master
9999999-devThe package to test Flarum extensions.
MIT
The Requires
The Development Requires
testing flarum flagrow
The package to test Flarum extensions.
Because you can't extend the default Flarum console commands, this package adds an alternate php vendor/bin/flagrow
command that uses events to register new commands., (*2)
Add to the composer.json of your extension:, (*3)
"require-dev": { "flagrow/steamroller": "*" }
First, set up a phpunit.xml., (*4)
Make sure your tests extend the Flagrow\Steamroller\TestCase
., (*5)
To run tests locally, use:, (*6)
vendor/bin/phpunit
Example implementations:, (*7)
We prefer to keep our work available to everyone. In order to do so we rely on voluntary contributions on Patreon., (*8)
If you discover a security vulnerability within Steamroller, please send an email to the Gravure team at security@gravure.io. All security vulnerabilities will be promptly addressed., (*9)
Please include as many details as possible. You can use php flarum info
to get the PHP, Flarum and extension versions installed., (*10)
The package to test Flarum extensions.
MIT
testing flarum flagrow