News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Test.ical.ly Blog:
Best practice of PHPUnit testing a symfony 1.4 plugin
April 29, 2010 @ 13:30:14

On the test.ical.ly blog there's a recent post that looks at a unit testing best practice for checking your Symfony (1.4) application's functionality.

Actually when I started this blog I was determined to use symfonys own lime unit test implementation because it is integrated and documented within the symfony documentation. But the more I worked with it the more I was put off by it. [...] PHPUnit on the other hand is the de facto standard for PHP. It is object oriented as well as well documented and maintained and it is fully xUnit compliant thus can easily be integrated into your continuous integration workflow.

He talks about the bootstrap for the testing, loading the configuration from a fixture and writing some test cases. He gives an example of a basic one and shows how it can fit into a test suite and includes some recommendations of how to test and what to test.

0 comments voice your opinion now!
phpunit symfony bestpractice unittest


blog comments powered by Disqus

Similar Posts

Fabien Potencier's Blog: Symfony Service Container: The Need for Speed

Padraic Brady's Blog: Mocks, Stubs, And SimpleTest Wins

International PHP Magazine: Poll Question: Major Strengths of Sympony Over its Competitors Are?

Chris Hartjes' Blog: Snakes and Elephants Playing Nice Together: PHPUnit and py.test with Hudson

Symfony Blog: Announcing the first Spanish symfony conference


Community Events





Don't see your event here?
Let us know!


language series laravel api interview conference list voicesoftheelephpant introduction composer framework opinion configure community tool unittest symfony version podcast release

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework