cms/tests/Unit
Allon Moritz 18a6c6bf7d
Alpha order imports (#41428)
2023-08-23 12:06:44 +02:00
..
Component Do not import global classes (#41078) 2023-06-28 14:01:50 +02:00
Libraries/Cms Alpha order imports (#41428) 2023-08-23 12:06:44 +02:00
Plugin Merge branch '4.3-dev' into 4.4-dev 2023-08-14 13:44:32 +02:00
README.md Facilitate running tests (#38775) 2023-01-26 13:08:33 +01:00
UnitTestCase.php Fixes various code style issues and integrate PHP CS Fixer into drone (#39745) 2023-01-31 11:20:05 +01:00
bootstrap.php Joomla! 4.4.0 Alpha 1 2023-05-31 16:58:50 +02:00

README.md

Unit Tests for Joomla 4.x

This folder contains the unit tests for the Joomla CMS. The tests are run with phpunit and the actual tests.

How to run the tests

When you are checking out the current development branch of 4.x and run composer install, your system is automatically set up to run the tests. The steps thus are the following:

  1. Checkout the current Joomla 4.x development branch from Github. (https://github.com/joomla/joomla-cms.git)
  2. Run composer install in the root of your checkout.
  3. Run ./libraries/vendor/bin/phpunit --testsuite Unit. The configuration file phpunit.xml.dist is used if phpunit.xml does not exist, but no edits are needed for the Unit tests.