Tests: allow execution of RouterTest alone, fix tool to execute each test class separately

This commit is contained in:
Romain Quetiez
2023-08-18 08:44:54 +02:00
parent d92d2b5e9e
commit 0f8e87e001
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
* This is to ensure that test class are still independant from each other, after a rework of ItopTestCase, for instance.
*/
const PHP_EXE = 'php';
const ITOP_ROOT = __DIR__.'/../../dev-itop';
const ITOP_ROOT = __DIR__.'/../../..';
const ITOP_PHPUNIT = ITOP_ROOT.'/tests/php-unit-tests';
const PHPUNIT_COMMAND = PHP_EXE.' '.ITOP_PHPUNIT.'/vendor/phpunit/phpunit/phpunit';