miniMVC/tests/index.php

23 lines
522 B
PHP
Raw Normal View History

<?php
//Specify test environment
define('ENVIRONMENT', 'DEVELOPMENT');
//Include simpletest
require_once('simpletest/autorun.php');
2012-01-30 18:20:05 -05:00
// Set the default paths
define('BASE_PATH', "../src/");
define('SYS_PATH', BASE_PATH.'/sys/');
define('MOD_PATH', BASE_PATH.'/modules/');
define('APP_PATH', BASE_PATH.'/app/');
//Include src files
require_once('../src/sys/common.php');
//Include test files
require_once('commonTest.php');
require_once('JSObjectTest.php');
require_once('miniMVCTest.php');
require_once('dbTest.php');