News Feed
Sections




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

Codeception.com:
Specification or Testing The Comparison of Behat and Codeception
May 08, 2013 @ 09:28:34

On the Codeception site today there's a new post that compares their tool, Behat and PHPUnit for testing your applications.

This is guest post by Ragazzo. He uses Behat as well as Codeception for making his project better. He was often asked to do a comparison between Codeception, Behat, and PhpUnit. In this post he explains the commons and different parts of this products.

The author talks some about the difference between functional/acceptance tests and how they fit in with behavior driven development. He includes some examples of Behat test formats (Gherkin) and how it can be used for both the functional and acceptance side of things. He also talks some about why he prefers Codeception over Behat(+Mink) for his testing. A sample Codeception test is included, showing a login form check.

0 comments voice your opinion now!
codeception testing behat phpunit acceptance functional comparison

Link: http://codeception.com/05-06-2013/specification-testing-coparison.html

blog comments powered by Disqus

Similar Posts

Giorgio Sironi's Blog: Practical Testing in PHP (Series)

Derick Rethans\' Blog: Debugging Protocol Shoot-out

Matthew Weir O'Phinney's Blog: Getting XDebug working with PHPUnit for code coverage reports

PHPMaster.com: Ruling the Swarm (of Tests) with Codeception

Sebastian Bergmann's Blog: TestNG-style Grouping of Tests


Community Events

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


middleware extension unittest voicesoftheelephpant language laravel laravel5 community conference framework library wordpress development introduction interview series release api opinion podcast

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