forked from joomla/joomla-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Running Unit Tests
tampe125 edited this page Aug 25, 2011
·
5 revisions
This document assumes that you have installed PHPUnit and its dependencies. The Platform runs on PHPUnit 3.5
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: http://docs.joomla.org/Unit_Tests_For_The_Platform