Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Running Unit Tests

jmcameron edited this page Aug 17, 2011 · 6 revisions

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';

Also see this page for suggestions on how to install PHPUnit, etc:

http://docs.joomla.org/Unit_Tests_For_The_Platform

Clone this wiki locally