Skip to content

Commit

Permalink
Merge branch '5.1-dev' into 5.0-tags-rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy committed Jan 5, 2024
2 parents db00abe + c2d8582 commit 3d4f0d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/Integration/README.md
@@ -1,12 +1,12 @@
# Integration Tests for Joomla 4.x
# Integration Tests for Joomla

This folder contains the integration 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:
When you are checking out the current development branch of Joomla 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)
1. Checkout the current Joomla development branch from Github. (https://github.com/joomla/joomla-cms.git)
2. Run `composer install` in the root of your checkout.
3. Copy `./phpunit.xml.dist` to `./phpunit.xml`. Edit configuration file `./phpunit.xml`. Within the `<php>` adapt the value of
`JTEST_DB_ENGINE` (mysqli or pgsql), `JTEST_DB_HOST`, `JTEST_DB_NAME`, `JTEST_DB_USER`, and `JTEST_DB_PASSWORD`
Expand Down
6 changes: 3 additions & 3 deletions tests/Unit/README.md
@@ -1,11 +1,11 @@
# Unit Tests for Joomla 4.x
# Unit Tests for Joomla

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:
When you are checking out the current development branch of Joomla 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)
1. Checkout the current Joomla 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.

0 comments on commit 3d4f0d6

Please sign in to comment.