News Feed
Sections




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

PHPMaster.com:
Ruling the Swarm (of Tests) with Codeception
March 19, 2013 @ 09:15:25

On PHPMaster.com today there's a new tutorial posted showing you how to use the Codeception testing tool to perform some acceptance/functional testing of your application.

What happens if you have more tests then zergs in the swarm? Really much more. You should find a way to control and manage them. In this article I'll share some hints and best practices you may use writing acceptance tests. I'll use Codeception testing framework to illustrate the best practices, but surely, they can be ported to any acceptance framework you use for testing.

He introduces the Codeception tool and some of the features it includes. He recommends using it to coordinate all of your testing as it can handle PHPUnit and Selenium tests as well as generate its own code coverage reports. He includes some code showing a basic test, making a request to a page, checking for contents and clicking on some links. He also shares a few design patterns using the tool - Page Object and Controller test examples.

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


blog comments powered by Disqus

Similar Posts

MaltBlue.com: How To Build an Extendible Zend Framework Application

Brian Deshong's Blog: Who’s Online with PHP and Memcached

DevShed: Decoupling the Validation of Data with Bridge Classes in PHP 5

Sudheer Satyanarayana's Blog: A Bit Of XML, RSS And CURL In 7 Lines Of PHP And A Useful Program

HowToForge: How To Install a Complete LEMP on Ubuntu/Debian


Community Events





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


framework introduction security library opinion series laravel release interview list language version community symfony tool voicesoftheelephpant composer conference podcast artisanfiles

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