Acceptance Testing our POST Method

In this video you will learn how to write Codeception-based Acceptance tests that cover the POST verb of our FosRestBundle API implementation.

These tests will ensure that we are receiving the correct response codes from our API when both good and bad data are POSTed in. We'll also double check the data is as expected in our database.

This covers quite a few real world concepts of Codeception testing, including handling custom routes and using PageObjects.

If you like the look of Codeception but are unsure of some of the concepts, be sure to check out the Codeception course here at CodeReviewVideos :)

Code For This Course

Get the code for this course.

Code For This Video

Get the code for this video.