From c8b17bd689c65896af09c0f74a8283a57f43e41c Mon Sep 17 00:00:00 2001 From: Tim Otten <totten@civicrm.org> Date: Sun, 8 Oct 2017 18:20:28 +0100 Subject: [PATCH] Move PHPUnit/PHPStorm tip from index.md to phpunit.md --- docs/testing/index.md | 3 --- docs/testing/phpunit.md | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/testing/index.md b/docs/testing/index.md index 1885e174..f09bbc3e 100644 --- a/docs/testing/index.md +++ b/docs/testing/index.md @@ -3,6 +3,3 @@ The easiest way to get set up to run the automated tests is to use [buildkit](/t !!! info When writing new tests or making any changes make sure you run [civilint](/tools/civilint.md) to ensure your changes match our coding style. - -!!! tip - If you are using PhpStorm, you can [run the tests from within PhpStorm](/tools/phpstorm.md#testing) (which is especially helpful because you can set breakpoints and inspect variables while the tests run). \ No newline at end of file diff --git a/docs/testing/phpunit.md b/docs/testing/phpunit.md index a8533b84..3e159bc0 100644 --- a/docs/testing/phpunit.md +++ b/docs/testing/phpunit.md @@ -32,6 +32,9 @@ environment variable `CIVICRM_UF` to "UnitTests" (eg. in `civicrm.settings.test. (creating system users etc.) your local build will be affected when running tests. +!!! tip + If you are using PhpStorm, you can [run the tests from within PhpStorm](/tools/phpstorm.md#testing) (which is especially helpful because you can set breakpoints and inspect variables while the tests run). + ## Running Tests From the CiviCRM root directory run the phpunit command, specifying a single -- GitLab