Add warning on flush not being run automatically by unit test commands.

This commit is contained in:
Sean Harvey 2015-08-28 13:00:22 +12:00
parent eca781ed91
commit 03d2fc73c5

View File

@ -73,6 +73,10 @@ The `phpunit` binary should be used from the root directory of your website.
phpunit framework/tests '' flush=all
# Run tests with optional `$_GET` parameters (you need an empty second argument)
<div class="alert" markdown="1">
The manifest is not flushed when running tests. Add `flush=all` to the test command to do this (see above example.)
</div>
<div class="alert" markdown="1">
If phpunit is not installed globally on your machine, you may need to replace the above usage of `phpunit` with the full
path (e.g `vendor/bin/phpunit framework/tests`)