Author: FrankStelzer Date: 2010-03-15 13:06:49 +0100 (Mon, 15 Mar 2010) New Revision: 28529
Modified: plugins/sfPHPUnit2Plugin/trunk/README Log: [sfPHPUnit2Plugin] added phpunit.xml hint for default PHPUnit options Modified: plugins/sfPHPUnit2Plugin/trunk/README =================================================================== --- plugins/sfPHPUnit2Plugin/trunk/README 2010-03-15 09:30:24 UTC (rev 28528) +++ plugins/sfPHPUnit2Plugin/trunk/README 2010-03-15 12:06:49 UTC (rev 28529) @@ -193,7 +193,17 @@ * You do not like the PHPUnit syntax? Use **$this->getTest()** to retrieve a instance of sfPHPUnitTest, which mimics the lime-like interface! * Use the **_start** and **_end** methods for doing something just before and after a test (please do not overwrite the setUp and tearDown methods)! * implement the **getApplication** method in your unit test and call **getContext** afterwards for creating an according sfContext instance + * add a ***[phpunit.xml](http://www.phpunit.de/manual/3.4/en/appendixes.configuration.html)*** in the project's root dir for defining default configuration options for PHPUnit calls + <phpunit + colors="true" + convertErrorsToExceptions="true" + convertNoticesToExceptions="true" + convertWarningsToExceptions="true" + stopOnFailure="true"> + </phpunit> + + ## Snippets ## Loading fixtures in your test: -- You received this message because you are subscribed to the Google Groups "symfony SVN" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-svn?hl=en.
