Part 6: symfony unit test tutorial with website testing codeception

Опубликовано: 22 Март 2026
на канале: Never Code Alone
3,923
25

HowTo to tests PHP forms with Codeception. I show in a live coding symfony tutorial how to write a integration test. This special kind of an acceptance test will also look to the database and validate that there are no bugs for this important workflow. We will see i a Sulu CMS example how to use codeception pageobjects to reuse the test code for differtent web projects.

symfony unit test tutorial
How to test a website from scratch in 1 hour - PHP Codeception Tutorial PhpStorm best practice DDEV

   • How to test a website from scratch in 1 ho...  
GitLab Pipeline example docker workflow for PHP projects with Symfony, PHPStan, Captain Hook in Sulu
   • Mastering Automated Testing and Deployment...  
How to build a website from scratch in 2 hours - PHP Tutorial Sulu CMS PhpStorm best practice DDEV

   • How to build a website from scratch in 2 h...  

Roland Golla is PHP trainer and freelancer with the focus on softwarequality. he helps teams with trainings to get tools and passion in their work. This brings a lot of gamification and passion.

00:00 Run PHP Integration Test GitLab Pipeline Tutorial Open Source Roland Golla
00:36 Form validation E2E Test Codeception Acceptance Test
01:20 Why automate tests are so powerfull
02:07 Live Coding PHP integration test E2E and check database
06:24 Add new Codeception Acceptance Test
08:24 Best practice php testing with page objects for test refactoring and reusing
17:45 DB database SQL connection for PHPUnit assertions
19:31 HTML report with screenshots in GitLab pipeline tutorial

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Our NCA Event Highlights & Live Sessions:

   • Serverless Database Pipeline mit DB Branch...  

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Here you can find our social media channels:

► Twitter:   / nevercodealone  
► Instagram:   / nevercodealone  
► LinkedIn:   / never-code-alone  
► Facebook:   / nevercodealone  

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

These are our websites:

► Never Code Alone offers free and commercial live coding events and advanced PHP courses and supports social projects https://nevercodealone.de

► TESTIFY - Website Testing Agency with Cypress.IO and Codeception Testing Framework https://testify.team/

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

You want to support Never Code Alone?
Then feel free to leave us a subscription and write your questions and/or suggestions in the comments.

Thanks for watching!
I hope you enjoyed the video.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Contact: [email protected]