mirror of
https://github.com/quentin-g-dev/afup.git
synced 2026-03-25 01:32:08 +01:00
+ ajout du contexte Simpletest/Unit + ajout du contexte Simpletest/Functional + ajout du contexte OtherToolPlugin
15 lines
447 B
PHP
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());
|
|
}
|
|
}
|
|
}
|
|
}
|