Testing the Symfony2 app with MinkBundle, PhantomJS and PHPUnit
Symfony2 has solid documentation around testing tools and it covers both unit and functional testing aspects. However, Symfony2 documentation explains WebTestCase library for functional testing which uses BrowserKit under the hood.
BBC