Skip to content

Latest commit

 

History

History
executable file
·
21 lines (11 loc) · 1.86 KB

README.md

File metadata and controls

executable file
·
21 lines (11 loc) · 1.86 KB

Codeception and Symfony 2

This is the code to go with the Codeception and Symfony 2 video tutorial at CodeReviewVideos.com.

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.