July 2017
Beginner to intermediate
340 pages
7h 43m
English
Functional tests for a microservice project are all the tests that interact with the published API by sending HTTP requests and asserting the HTTP responses.
This definition is broad enough to include any test that can call the app, from fuzzing tests (you send gibberish to your app and see what happens) to penetration tests (you try to break the app security), and so on.
As developers, the two most important kinds of functional tests we should focus on are these:
The way those scenarios are organized in the tests class is up to the developers, but the general pattern is to create ...