Revision 1095:4c9e899ae2df,
292 bytes
checked in by franck <carnet.franck.paul@…>, 13 years ago
(diff) |
PHPUnit Unit tests: Clearbricks lib, not yet completed
|
Rev | Line | |
---|
[1095] | 1 | <?php |
---|
| 2 | # error reporting |
---|
| 3 | ini_set('display_errors',1); |
---|
| 4 | error_reporting(E_ALL|E_STRICT); |
---|
| 5 | |
---|
| 6 | # include PHPUnit |
---|
| 7 | require 'PHPUnit/Autoload.php'; |
---|
| 8 | |
---|
| 9 | // Root path |
---|
| 10 | define('NAME_UNIT_TEST','unit-tests'); |
---|
| 11 | define('ROOT_UNIT_TEST',substr(dirname(__FILE__),0,strpos(dirname(__FILE__),'/'.NAME_UNIT_TEST))); |
---|
| 12 | |
---|
| 13 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.