Skip to content

Commit

Permalink
* include config.php (if available) allows us to run 'phpunit AllTes…
Browse files Browse the repository at this point in the history
…ts.php' as well

git-svn-id: https://svn.php.net/repository/pear/packages/Text_Wiki/trunk@309443 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
till committed Mar 19, 2011
1 parent b40867b commit 108c54e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/AllTests.php
@@ -1,4 +1,6 @@
<?php
@include dirname(__FILE__) . '/config.php';

require_once 'PHPUnit/Extensions/PhptTestSuite.php';
require_once 'Text_Wiki_Tests.php';
require_once 'Text_Wiki_Render_Tests.php';
Expand All @@ -12,7 +14,7 @@ class Framework_AllTests
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('Text_Wiki_TestSuite');

/* almost all phpt tests are failling and need to be fixed
before uncommenting the code below
$phptTests = new PHPUnit_Extensions_PhptTestSuite('.');
Expand All @@ -25,9 +27,7 @@ public static function suite()
$suite->addTestSuite('Text_Wiki_Render_Tiki_AllTests');
$suite->addTestSuite('Text_Wiki_Parse_Mediawiki_AllTests');
$suite->addTestSuite('Text_Wiki_Generic_Transform_Tests');

return $suite;
}
}

?>

0 comments on commit 108c54e

Please sign in to comment.