functional test
A test that exercises a public journey the way a client would, by sending real requests and checking the observable results.
In more detail
It asserts on public behaviour, such as statuses, headers and bodies, not on private function names, and can capture a value from one response to use in the next request. It is slower than a unit test but closest to what a real client experiences.
Related terms
- request file — A plain text file listing HTTP requests with their expected statuses, runnable by a small tool so a journey can be replayed and checked.
- integration test — A test that checks several real parts working together, such as the service talking to a real database.
- unit test — An automated check of one small piece of code, such as a single function, that runs quickly and on its own.
Taught in
- Unit And Integration Testing — Modern API Architecture: REST, GraphQL & gRPC