News Feed
Sections




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

Dzone.com:
Diving into Behat
April 09, 2013 @ 09:50:34

Giorgio Sironi has a new post to DZone.com today about some of his experiences with Behat, a behavior-driven development testing tool written in PHP. It uses the Gherkin language syntax to define its tests.

I had the occasion to try out and adopt Behat for a particular need in our projects at Onebip. Here is my recount of the experience from a PHPUnit contributor and invested person.

He starts off with a list of situations where he doesn't think that Behat is a good fit for testing including testing of a single object and acceptance tests where comparing the response from more than one test is needed. He suggests that it's more useful for verifying high level business rules than anything. He talks some about the shift they made to using Behat and some of the benefits they found in its use. He finishes up the post by looking at the technical side and includes a warning about letting the size of the FeatureContext file get too large.

0 comments voice your opinion now!
behat introduction context technical impact overview benefits

Link: http://css.dzone.com/articles/diving-behat

blog comments powered by Disqus

Similar Posts

Sameer Borate: Storing images into a database - resolving a contentious matter

NorthClick Blog: Zend_Search (Java Lucene)

SitePoint PHP Blog: Fast PHP Routing with PHRoute

Imagine Easy: Pushing the limits of metaprogramming in PHP: aspect oriented design

NetTuts.com: The Whens and Whys for PHP Design Patterns


Community Events

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


interview opinion release php7 api podcast introduction series example version laravel5 voicesoftheelephpant unittest language extension library framework laravel community wordpress

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