Unit testing symfony plugins with PHPUnit


Comments are closed.

Excellent talk which occurred to be useful for testing in general and not only for PHPUnit users. Especially it shown the way sfTaskExtraPlugin generates a plugin which is ready for testing.

I'd add one thing to the "Best Practices" section: Name your test methods to show intention of your test. I noticed you're doing it (like testIsInitializedEmpty) but it wasn't listed on that slide.

Your talk was pretty useful, especially considering that Symfony2 will also use PHPUnit for testing – so I can get comfortable with it.