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

Codeception.com:
Getting on Testing Ship
June 13, 2013 @ 11:06:54

On the Codeception blog there's a new post that advocates getting on the testing ship even if the project you're currently on isn't using tests (or TDD).

In this blogpost we will try to figure out how to get faster into the testing. What tests to write at first? Let's say we already have a project and we didn't practice TDD/BDD developing it. Should we ignore testing at all? Definitely no. So where should we start then?

They suggest a three-tiered pyramid approach - UI at the top, Integration testing in the middle and Unit testing as the foundation. They talk about the times when testing doesn't make sense, like when your application is based on a third-party tool (like WordPress or Drupal). They recommend starting with functional testing and working your way back down, especially if your framework supports it. Obviously they encourage the use of Codeception for it, but also recommend even something like Selenium tests if nothing else.

0 comments voice your opinion now!
testing unit functional integration codeception skip

Link: http://codeception.com/06-12-2013/getting-on-testing-ship.html

blog comments powered by Disqus

Similar Posts

Sebastian Bergmann's Blog: Distributed Testing with PHPUnit 3.1

Elephant in the Room Podcast: Episode #004: Testing Resistance

Shashikant Jagtap: Automating Web Performance Data Collection with Behat and BrowserMob Proxy

AWS PHP Development: Testing Webhooks Locally for Amazon SNS

Christopher Jones' Blog: OSCON, PHP 5.2 Windows Installer, and Testing


Community Events











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


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

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