Running Automated Tests for the Platform

From Joomla! Documentation

This document assumes that you have installed PHPUnit and its dependencies. The Platform runs on PHPUnit 5.3.

Before running you will need to install a database for the test and enter the information.

Copy config.php-dist to config.php.

You will need to create a database and import /tests/ddl.sql.

If you want to keep it simple and are sure you computer is secure, you can use the names from the file otherwise edit the file.

Names from file:

  • public $user = 'utuser';
  • public $password = 'ut1234';
  • public $db = 'joomla_ut';