Codeception's Folder Structure

In this video we look into the folder structure of a standard Codeception project.

We'll look at the codeception.yml file, briefly what this files contains and why you need to know about it.

We'll also look into the default folders that Codeception kindly creates for us:

  • The _data folder (where we put our known good test Database)
  • The _output directory (where Codeception will dump logs and errors)
  • The _support folder (likely you won't need to go in here too much)
  • The Acceptance, Functional, and Unit folders (where we will spend a lot of this course!)

And lastly we will cover the three *.suite.yml files, what they are, where they live, and why you might (likely will) need to change them to suit your project.

Code For This Course

Get the code for this course.

Code For This Video

Get the code for this video.


# Title Duration
1 Installing Codeception in Your Symfony 2 Project 04:20
2 Bootstrapping Codeception 02:09
3 Codeception's Folder Structure 06:43
4 Generating Tests 06:28
5 How to Run Codeception Tests 02:44
6 Our First Acceptance Test 08:00
7 An Alternative Perspective on Acceptance Testing 04:33
8 Acceptance Testing Symfony Forms 08:22
9 Acceptance Testing and Javascript (Part 1 of 2) 07:31
10 Acceptance Testing and Javascript (Part 2 of 2) 08:06
11 An Introduction to Unit Testing in Codeception 04:24
12 Unit Testing a Symfony Service 11:59
13 Integration with Symfony 2 06:27
14 Databases and Unit Tests 14:21
15 Real World Unit Testing - Database Clean Up Issues 06:15
16 Fast PHP Unit Testing with SQLite Database 10:19
17 Mocking the Entity Manager 20:22
18 Codeception Selenium Setup 06:08
19 How to Setup XDebug with PHPStorm 07:36
20 Step Objects and Page Objects 09:35
21 Fizz Buzz Kata 24:43
22 Code Coverage Reports 10:30
23 Running Acceptance Tests Faster With Phantom JS 01:30
24 Mobile Browser Tests 01:18