Acceptance Testing Symfony Forms


Imagine a world of development where forms never existed. It would be a peaceful, loving, and enjoyable world for all concerned.

Unfortunately, back in the Real World, we have forms. Lots and lots of forms.

Want a new passport? Here's some forms.

Have to submit a tax return? Forms galore.

Had an accident in the work place that wasn't your fault? Ok, I think I've strayed from the point...

Yes, so forms are a daily hazard. There are so many different combinations and criteria that need to be met that simply doing a manual test every time you change some code becomes very time consuming very quickly.

And what happens with time consuming tasks? They get put on the queue. The ever growing queue. The queue that you will never get round to. And oh, besides, I've got to add another bit to that form so I'll test then. And then you don't. And then the system melts and people (read: management) lose their minds.

So, let's take the pain out of testing our forms. Let's let Codeception take over that burden whilst we put the kettle on, make a brew, and watch loads of text stream down our console. It's like we're working, but we aren't. And management will love you for it.

Code For This Course

Get the code for this course.

Episodes