From: Fabien Potencier Date: Fri, 28 May 2010 06:27:32 +0000 (+0200) Subject: added bootstrap option to phpunit.xml X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=a412dfbb9cf49b179f9b6a49c2f5639a29c50ea7;p=konrad%2Ftwig.git added bootstrap option to phpunit.xml --- diff --git a/phpunit.xml b/phpunit.xml index d01af55..80ccf2b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -9,6 +9,7 @@ processIsolation="true" stopOnFailure="false" syntaxCheck="false" + bootstrap="test/Twig/Tests/bootstrap.php" > diff --git a/test/Twig/Tests/AutoloaderTest.php b/test/Twig/Tests/AutoloaderTest.php index cf696c9..e572284 100644 --- a/test/Twig/Tests/AutoloaderTest.php +++ b/test/Twig/Tests/AutoloaderTest.php @@ -9,8 +9,6 @@ * file that was distributed with this source code. */ -require_once dirname(__FILE__).'/bootstrap.php'; - class Twig_Tests_AutoloaderTest extends PHPUnit_Framework_TestCase { public function testAutoload() diff --git a/test/Twig/Tests/Extension/SandboxTest.php b/test/Twig/Tests/Extension/SandboxTest.php index 25f4d01..eced784 100644 --- a/test/Twig/Tests/Extension/SandboxTest.php +++ b/test/Twig/Tests/Extension/SandboxTest.php @@ -9,8 +9,6 @@ * file that was distributed with this source code. */ -require_once dirname(__FILE__).'/../bootstrap.php'; - class Twig_Tests_Extension_SandboxTest extends PHPUnit_Framework_TestCase { static protected $params, $templates; diff --git a/test/Twig/Tests/TokenStreamTest.php b/test/Twig/Tests/TokenStreamTest.php index 11a1f2e..341773c 100644 --- a/test/Twig/Tests/TokenStreamTest.php +++ b/test/Twig/Tests/TokenStreamTest.php @@ -9,8 +9,6 @@ * file that was distributed with this source code. */ -require_once dirname(__FILE__).'/bootstrap.php'; - class Twig_Tests_TokenStreamTest extends PHPUnit_Framework_TestCase { static protected $tokens; diff --git a/test/Twig/Tests/integrationTest.php b/test/Twig/Tests/integrationTest.php index c193575..8adbac7 100644 --- a/test/Twig/Tests/integrationTest.php +++ b/test/Twig/Tests/integrationTest.php @@ -9,8 +9,6 @@ * file that was distributed with this source code. */ -require_once dirname(__FILE__).'/bootstrap.php'; - class Twig_Tests_IntegrationTest extends PHPUnit_Framework_TestCase { static protected $fixturesDir;