Acceptance Testing our POST Method

This video is available to view for members only.

Click here to Join!

Already a member?

Login


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.

Share This Episode

If you have found this video helpful, please consider sharing. I really appreciate it.


Episodes in this series

# Title Duration
1 GETting Started 17:06
2 GETting Refactored 15:39
3 GET Handled, thin Controllers and fun with Services 17:49
4 Automatic Route Generation 11:32
5 GETting a Collection 12:53
6 POSTing 101 11:06
7 Acceptance Testing our POST Method 05:40
8 Unit Testing our Symfony Form 22:55
9 Implementing and Testing the Form Handler 03:01
10 POST Form Handler Implementation 11:12
11 PUT Introduction 07:34
12 PUT Implementation 15:25
13 Pragmatic PATCH 15:17
14 DELETE'ing Things 03:30