Summary
Explore how to effectively test Spring Boot reactive applications by writing unit and slice tests. Learn to use StepVerifier for reactive service testing, verify stream signals, employ mocks with @MockBean, and apply slice testing annotations like @WebFluxTest and @DataMongoTest. Understand how to detect blocking calls with BlockHound to ensure reactive behavior.
We'll cover the following...
We'll cover the following...
In this chapter we learned how to:
- Write reactive test cases using
StepVerifier. - Test domain