# phpunit ## run unit tests from commandline After running `make bootstrap` go to the extension folder and run: `vendor/bin/phpunit --configuration phpunit.xml` ## phpunit configurations Phpunit configurations are stored in extension/phpunit.xml Running the tests without specifying these configurations will not work. ## Autoloader The test classes use the composer autoloader to reference to the source classes. The autoloader is loaded in extension/Source/bootstrap.php which in turn is executed by phpunit before each test as specified in phpunit.xml by the line `` ## run tests on gitlab runner (i.e. without typo3 installation) As defined in the phpunit command of projectRoot/Makefile. The files phpunit_config.qfq.php and phpunit_LocalConfiguration.php are copied outside the extension since they are necessary for the qfq bootstrap process.