Codeception and Symfony 2

Codeception is perfect starting point for beginners to Test Driven Development (TDD) and Behaviour Driven Development (BDD). That's not to say it's not also great for those already comfortable with TDD and BDD, but rather it has an easier learning curve to help get started.

If you've ever dabbled with PHPUnit, think of Codeception as PHPUnit on Steroids. You gain all the benefits of PHPUnit along with Codeception's improvements, productivity tweaks, and add-ons. And that's not even mentioning the Functional and Acceptance testing suites, which can really aid on medium scale projects and above.

In this course you're going to learn the basics to get started using Codeception in your new or existing Symfony project. This includes everything from downloading the Codeception package through configuration and project initialisation.

From there, we'll cover Unit testing in depth. If you've never created or used Unit tests before, you're in for a real treat as they are a total game changer in how you approach future tasks. Think of them as doing software development with cheats turned on.

Then we'll cover Acceptance tests. These are the ones that will blow your bosses (or your clients) mind. Being able to simulate a real life human sat at a computer, clicking, tapping, entering text, choosing options from a drop down, submitting forms and checking the database to make sure everything went as expected. It's all there, and more besides.

We'll finish off by covering some of the more intermediate to advanced stuff, from Code Coverage reports through to Page and Step Objects.

It's all super cool stuff, so lets not delay any longer.


Code For This Course

Get the code for this course.

Presented By

Christopher Moss

Christopher Moss

Hi, I'm Chris and welcome to In this video you will learn about... :)