From c27c99b2458e9f99a791f80ea55d6495dc6de56a Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Tue, 5 Dec 2023 11:34:36 +0100 Subject: [PATCH] :memo: tests README: comments on disabling XDebug --- tests/php-unit-tests/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/php-unit-tests/README.md b/tests/php-unit-tests/README.md index 085a8cfdb..d94be152b 100644 --- a/tests/php-unit-tests/README.md +++ b/tests/php-unit-tests/README.md @@ -27,7 +27,7 @@ If you need to customize it, copy it to `phpunit.xml` (not versioned). - `memory_limit`: as the tests are for the most part ran in the same process, memory usage may become an issue! A default value is set in default PHPUnit configuration XML file, don't hesitate to update it if needed * PHP CLI php.ini - enable OpCache - - disable Xdebug (xdebug.mode=off) + - disable Xdebug (xdebug.mode=off) : huge performance improvements (between X2 and X3), and we can still debug using PHPStorm ! ### Dependencies Whereas iTop dependencies are bundled inside its repository, the tests dependencies are not, and must be added manually. To do so, run `composer install` in the `/tests/php-unit-tests` directory.