mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Add warning on flush not being run automatically by unit test commands.
This commit is contained in:
parent
eca781ed91
commit
03d2fc73c5
@ -73,6 +73,10 @@ The `phpunit` binary should be used from the root directory of your website.
|
|||||||
phpunit framework/tests '' flush=all
|
phpunit framework/tests '' flush=all
|
||||||
# Run tests with optional `$_GET` parameters (you need an empty second argument)
|
# 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">
|
<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
|
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`)
|
path (e.g `vendor/bin/phpunit framework/tests`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user