php Archive

Test-Driven Development And Behavior-Driven Development in PHP

The PHP Roundtable discusses two software testing approaches: test-driven development (TDD) and behavior-driven development (BDD). The participants talk about how these two methodologies bring a unique angle to testing software and how we can use them in

Behat v3! Behavioral-Driven-De­velopment, Functional Tests and Selenium

Testing our applications is something we all do. Ahem, rather, it’s something we all *wish* we did. In this chat, I’ll introduce you to Behat version 3: a behavior-driven-development (BDD) library that allows you to write functional

Full Stack Behaviour Driven Development

This talk presents the adoption of BDD from the back-end (with the likes of Behat and phpspec) through to the front-end (with Mocha.js and Cucumber.js) and how you can align these processes to make all your development

CodeIgniter Unit Testing

CodeIgniter is an agile and open source PHP web application framework. CodeIgniter Unit Test class is relatively simple to use and allows you to perform unit testing for your code.

Writing Unit Tests Using PHPUnit

A lot of people will tell you that unit testing in PHP is easy, but in practice it’s one of the hardest disciplines to get right. When you’ve never written unit tests before you’ll probably have a