Unit tests with PHPUnit + Advanced functional tests with Symfony (TESTC1)
1 day
€ 780.00
Where would you like to train?
Select your location above to see available sessions near you.
This one-day course lets learners know what, when and how to test PHP code and shows the different workings of functional testing.
Level: Beginner
Duration: 1 day
Available languages: English, French, German
This one-day course lets learners know what, when and how to test PHP code and shows the different workings of functional testing.
Prerequisites: Personal skills: Good use of PHP, IDE (PHPStorm prefered) and Symfony. Required tools: PHP 7.2.5 or above, Composer, Symfony CLI.
Goals: Thanks to the flagship features of PHPUnit, the learners will be able to obtain complete code coverage, through classes and test scenarios, according to specific standards and good practices. They will use all the tools (Client, Profiler, DomCrawler...) allowing to carry out complete functional test scenarios, in accordance with their Symfony application.
Context and definitions
for or against
What to test, when to test?
Installation of the PHPUnit test framework
Write your first class of unit test scenarios according to standards
Test dependencies
Test exceptions
Use data providers
Calculate your coverage code
Use CLI options
Fixtures and database tests
Create your own assertions
TP
Definitions and concepts of doubles (Stub, Dummy, Mock),
Create your first plug (Stub) with createMock () and therefore getMockBuilder (),
Mocking a class: multiple arguments, expectations, returns, traits, summaries,
Prophecy to create liners,
TP
Definitions and concepts,
Create your first smoke test,
Test with the client
Test with DomCrawler
Profiler test
TP
Global average : 9.2/10
Educational rating : 9.6/10
Content rating : 9.4/10
Pace rating : 8.6/10
Success rate : 100%
The ratings are the synthesis of the cumulative assessments of our trainees from 01/01/2025 to 01/08/2025
Registration can only be made using the registration form available on our website or via the training team e-mail.
Registration will be completed only after receiving the signed agreement and the full payment before the start of the training.
Meet our trainers
Stiven Llupa
Technical Expert
Stiven Llupa is a developer with over 15 years of experience working almost exclusively with PHP and more than 10 years with the Symfony framework. Beyond coding, Stiven is pretty easy-going and loves connecting with fellow developers, especially from the PHP and Symfony communities.
See details : Stiven Llupa
Guillaume Loulier
Technical Expert
Symfony-certifed (3, 4, 5, 6, 7 and 8) developer working at SensioLabs, Guillaume Loulier has been a speaker at technical conferences for many years. He is also training developers on Symfony and a former OCFrance Mentor. He loves motorsport.
See details : Guillaume Loulier
Benjamin Zaslavsky
PHP and Symfony Trainer
Benjamin Zaslavsky is a self-taught developer who is now certified in Symfony 6 and 7. He is passionate about sharing knowledge and mentoring to make life easier for developers.
See details : Benjamin Zaslavsky
Mathieu Santostefano
Technical Expert
As a developer for almost 15 years, Mathieu Santostefano works with Symfony on a daily basis. Having worked with almost every version since Symfony 1.4, he has followed the evolution of the entire PHP ecosystem. He eventually became an active contributor and joined the Symfony Core Team in 2021. Still passionate about this community and its enthusiasm, Mathieu enjoys sharing his experience on stage at conferences such as Forum PHP, SymfonyLive, SymfonyCon, and API Platform Con.
See details : Mathieu SantostefanoVisit our contact page to explore more ways to reach us.
Our customer service hotline is available Monday to Friday from 9:00 AM to 5:00 PM.
info@sensiolabs.com
Send us an email and our friendly team will get back to you quickly!
Recommended courses
Getting Started with Symfony 8
This training is the ideal starting point for developers who want to build web applications with Symfony. Over 3 days, you will go from installing the framework to building a fully functional application with dynamic pages, a database, entity relationships, and HTML forms — following the official good practices of the creator of Symfony. The programme combines instructor-led sessions with one month of access to the online review platform for continued practice.
See details : Getting Started with Symfony 8
Getting Started with Symfony 7
This training is the best starting point to prepare you for the advanced tools and uses of the Symfony 7 framework with its creators. SensioLabs University has designed the best Symfony training experience by combining face-to-face and e-learning. In addition to face-to-face training, access to our online review platform for 1 month allows you to combine different learning practices, test your skills, follow your progress and stay in touch with your trainer on throughout the duration of the program. This course is not only designed to get you started with Symfony 7, it is also the ideal course for learning "Official Good Practices" and the best tips from Symfony experts.
See details : Getting Started with Symfony 7
Advancing in Symfony 8
This training follows 'Getting Started with Symfony' and takes you into the intermediate topics that make a Symfony application production-ready. Over two days, you will implement authentication, fine-grained permissions, search features, and business process modelling — then round off the application with professional-grade optimisation techniques. The program combines instructor-led sessions with one month of access to the online review platform for continued practice.
See details : Advancing in Symfony 8
Advancing in Symfony 7
This training, which follows the course "Getting started with Symfony 7", will help you acquire the key concepts of a whole project. SensioLabs University has designed the best Symfony training experience, combining face-to-face and e-learning. In addition to face-to-face training, access to our online review platform for 1 month allows you to combine different learning practices, test your skills, follow your progress and stay in touch with your trainer on throughout the duration of the program.
See details : Advancing in Symfony 7
Web Development with Symfony 8
This training takes you from zero to a fully functional, production-ready Symfony application in five days. Starting from the framework's foundations, you will progressively build a complete web application, covering everything from routing and templating to authentication, fine-grained permissions, and business logic, following the official good practices of the creator of Symfony. The program combines instructor-led sessions with one month of access to the online review platform for continued practice.
See details : Web Development with Symfony 8
Web Development with Symfony 7
This five-day course dedicated to Symfony is the perfect training to master all the fundamental concepts and the most advanced tools of Symfony 7. At the end of this workshop, we guarantee you will be fully autonomous on the Symfony 7 framework and more!
See details : Web Development with Symfony 7
Mastering Symfony
This training course is designed for developers who already know Symfony and want to tackle its most advanced topics. Over 5 days, you will explore most powerful components and patterns of the framework, from asynchronous messaging and advanced serialization to bundle creation and complex dependency injection, building expertise that translates directly to production-grade applications. The program combines instructor-led sessions with one month of access to the online review platform for continued practice.
See details : Mastering Symfony
Symfony 8 Certification Online Coaching
The best way to become a Certified Symfony Developer is to study with its creator! Let’s get you ready for the exam by studying together. We will cover all the primary topics on the Symfony7 test. This workshop is ideal for those who already have an excellent level and want to test and reinforce their skills before taking the official certification exam.
See details : Symfony 8 Certification Online CoachingUnit tests with PHPUnit + Advanced functional tests with Symfony (TESTC1)
1 day
€ 780.00
Where would you like to train?
Select your location above to see available sessions near you.
If no suitable dates are available, feel free to contact us