News Feed
Jobs Feed
Sections




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

NetTuts.com:
Acceptance Testing With Codeception
January 03, 2014 @ 11:45:39

On NetTuts.com today there's a new tutorial posted from Andrew Perkins about acceptance testing with Codeception, an alternative testing framework that's been gaining popularity in the PHP community.

Codeception is a multi-featured testing framework for PHP. It can handle unit, functional, and acceptance testing of web applications and it's powered by the already very popular PHPUnit testing framework.

Codeception allows us to test different kinds of user perspectives and site scenarios while they are visiting our app to ensure a pleasant user experience. By testing multiple scenarios, we can simulate a user's natural flow throughout our application to make sure the app is working as expecting.

The tutorial guides you through the process of getting Codeception up and running and creating a first test. The example test hits a basic PHP-enhanced HTML page to uppercase a given string. They show how to create the test skeleton and flesh it out with a test for the page load as well as the form submission.

0 comments voice your opinion now!
acceptance test testing tutorial codeception

Link: http://net.tutsplus.com/tutorials/php/acceptance-testing-with-codeception-2

blog comments powered by Disqus

Similar Posts

php|architect Blog: WordPress 404 Plugin built on Bing Wrapper

Codeception.com: Specification or Testing: The Comparison of Behat and Codeception

DevShed: Constructing Multi-Line PDF Documents with PHP 5

Chris Hartjes' Blog: Thoughts on Testing APIs

Ilia Alshanetsky's Blog: PHP 5.2.0 RC4 Released!


Community Events











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


opinion series language facebook hhvm framework example package hack component symfony2 application release podcast performance composer security unittest install introduction

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