Edit on GitHub
Jump to docs navigation

Core development / Related HOWTOs / Running Unit & Acceptance Tests

Note: You are currently reading the documentation for Bolt 4.0. Looking for the documentation for Bolt 5.2 instead?

Unit testsΒΆ

For running unit tests you need PHPUnit, this can be run from the require-dev install of PHPUnit that comes with Bolt:

    $ composer install --dev

After installing, you can run the unit test suite by running:

    $ php vendor/bin/phpunit

For more on running unit and behavioural tests, please follow the instructions in the bolt/core repository on GitHub here



Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.