Testing Main Paths with System Tests
Explore how to implement system tests in Hexagonal Architecture to verify that all application layers work cohesively. Understand how real HTTP requests and output adapters are used to test main user paths, catch bugs missed by unit tests, and create clear, readable tests that mimic real user behavior for better feedback and validation.
We'll cover the following...
On top of the pyramid are system tests. A system test starts up the whole application and runs requests against its
Send money system test
In a system test for the “Send Money” use case, we send an
The @SpringBootTest annotation
With @SpringBootTest, we’re telling Spring to start up the whole network of objects that
makes the application. We’re also ...