This course is still being released! Check back later for more chapters.

Get Notified About this Course!

We will send you messages regarding this course only
and nothing else, we promise.
You can unsubscribe anytime by emailing us at:
privacy@symfonycasts.com
> Testing >

Course Overview

Symfony End-to-End Testing: WebTestCase to Playwright

Build fast, reliable tests for your Symfony app - from `WebTestCase` and `zenstruck/browser` to full end-to-end tests in a real browser with Playwright. Along the way, keep tests isolated with Foundry + DAMA and make your suite fly with ParaTest.

  • intermediate
  • 0 students
  • EN/ES Captions
  • EN/ES Script
  • Certificate of Completion

About this course

This course is in the planning stages

We've covered unit testing and integration testing. Now it's time to test the thing your users actually interact with: your application!

In this course, we'll build a practical end-to-end testing setup for Symfony, starting with Symfony's built-in testing tools and working our way up to a real browser running real JavaScript.

Along the way, we'll cover:

  • Unit vs integration vs end-to-end tests: what each one is good at and where they fit
  • WebTestCase and Symfony's built-in functional testing tools
  • zenstruck/browser for expressive, fluent browser tests
  • Creating exactly the database state we need with zenstruck/foundry
  • Keeping database tests isolated and fast with DAMA DoctrineTestBundle
  • Running the test suite in parallel with ParaTest
  • Testing forms, authentication, redirects, validation and other real application flows
  • Stepping up to a real browser with playwright-php/symfony
  • Running JavaScript-powered E2E tests without spinning up a separate web server
  • Debugging failures and keeping E2E tests fast, reliable and fun to write

The goal isn't to turn every test into an E2E test. It's to build a testing toolbox so you know what kind of test to write, how high up the stack to go, and how to test your most important user flows with confidence.

Let's test!

Next courses in the Testing: Beginner Testing section of the Testing Track!

15 Comments

Sort By
Login or Register to join the conversation
Nizar 1 year ago

Hey,
Are there any news when this course is available?

2 |

Hey Nizar,

First of all, thank you for your interest in SymfonyCasts tutorials! Unfortunately, this course is on pause. I think we can return to it after we will release several other tutorials we're working on right now. My rough estimation is that this course should be finally released by the end of 2025, but no certain date yet. Thanks for your patience and understanding!

Cheers!

1 |
MarvinPaul 4 months ago

Will this course ever be released? If not just delete it, you are sending false signals by calling something upcoming and then you do not deliver in years. I am totally aware of the difficultys you have been going through over the years so it is understandable, why you might not manage to do it, but still at least be transparent.

By the way I would love to hear this becoming a priority. It is extra important for legacy applications, that have trouble with unit tests.

1 |

Hey @MarvinPaul,

Sorry about that! Yeah, this one kept getting pushed because I wanted to cover testing of forms and security. For that, I wanted those courses available first. Forms is done and we're going to be publishing Security very shortly. So this one will be my next priority.

For future courses, we now only announce them as upcoming when they're a few weeks away (not months, years).

Regards,
Kevin

1 |
Nizar 1 month ago

Hey,
Are there any news when this course is available?

|

Hey @Nizar,

Yes! This will be the next course I work on after Security (which is being released now).

--Kevin

1 |
Nizar 8 months ago

Hey,
Are there any news when this course is available?

|

Hey Nizar,

Thank you for your interest in SymfonyCasts tutorials! Unfortunately, this course is on pause because the author who was working on it can't continue it, so it was paused on the very early stage unfortunately. We will definitely want to make it released someday, but I don't know when it will happen, we're working on other cool tutorials right now.

Thank you for your patience and understanding!

Cheers!

|

Are there any news when this course is available?

|

Hey @Julian-D and @Pedy !

Thank you for your interest in SymfonyCasts tutorials! This course is currently on pause because we're working on other topics and don't have much time to push it forward. I think it will be released later this year, but I don't have more exact estimations, unfortunately.

Cheers!

1 |
Julian-D 2 years ago

Hey! Really curious about this one! Is there an ETA? Cheers!

|
Marcos-D 2 years ago

Hi! looking forward for this one. What's the ETA? Thanks

|

Hey Marcos,

Thank you for your interest in SymfonyCasts tutorials! We're going to release a few Symfony 7-related tutorials before this, so my rough estimation - this will be started releasing after 1-2 months. Feel free to subscribe to it with "Notify me when course is available" button above - we will notify you when the first chapter will be released on it :)

Cheers!

|

no Worries. Is there an older version of this one?

|

Hey Marcos,

Unfortunately, there's no one. Though you can try to search on SymfonyCasts for specific topics you're interested in, just in case we have it covered in an older course already.

Cheers!

|

Delete the comment?

Share this comment

astronaut with balloons in space

"Houston: no signs of life"
Start the conversation!