a tiny mvc framework for php using php-activerecord
1<?php
2
3foreach (glob('*Test.php') as $file)
4{
5 if ($file != 'AllValidationsTest.php')
6 require $file;
7}
8
9class AllTests
10{
11 public static function suite()
12 {
13 $suite = new PHPUnit_Framework_TestSuite('PHPUnit');
14
15 foreach (glob('*Test.php') as $file)
16 {
17 if ($file != 'AllValidationsTest.php')
18 $suite->addTestSuite(substr($file,0,-4));
19 }
20
21 return $suite;
22 }
23}
24?>