From 03d2fc73c5fa31c0e52778ff424af99ea0a35bca Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 28 Aug 2015 13:00:22 +1200 Subject: [PATCH] Add warning on flush not being run automatically by unit test commands. --- docs/en/02_Developer_Guides/06_Testing/00_Unit_Testing.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/en/02_Developer_Guides/06_Testing/00_Unit_Testing.md b/docs/en/02_Developer_Guides/06_Testing/00_Unit_Testing.md index 7afd1894c..098b5e3d1 100644 --- a/docs/en/02_Developer_Guides/06_Testing/00_Unit_Testing.md +++ b/docs/en/02_Developer_Guides/06_Testing/00_Unit_Testing.md @@ -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) +
+The manifest is not flushed when running tests. Add `flush=all` to the test command to do this (see above example.) +
+
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`)