Files
afup/tests/unitaires/all.test.php
Olivier Hoareau 19c7148866 * suppression de fond des AFUP_CHEMIN_RACINE pour utiliser plutôt l'include path
+ ajout du contexte Simpletest/Unit
+ ajout du contexte Simpletest/Functional
+ ajout du contexte OtherToolPlugin
2010-03-01 16:01:30 +00:00

15 lines
447 B
PHP

<?php
require_once dirname(__FILE__) . '/../../sources/Afup/Bootstrap/Simpletest/Unit.php';
class AllTests extends TestSuite {
function __construct() {
$nodes = new RecursiveDirectoryIterator(dirname(__FILE__));
foreach(new RecursiveIteratorIterator($nodes) as $node) {
if (preg_match('/test\.php$/', $node->getFilename()) and $node->getFilename() != "all.test.php") {
$this->addFile($node->getPathname());
}
}
}
}