Summary
Review the concepts covered in this chapter.
In this chapter we learned how to:
- Write reactive test cases using
StepVerifier
. - Test domain objects, which are below the layer of Reactive Streams with simple tests.
- Test reactive services using
StepVerifier
and mocks (courtesy of Spring Boot’s@MockBean
). - Write reactive results and verify Reactive Streams signals like complete and error.
- Write full container tests using Spring Boot.
- Test with slice testing using
@WebFluxTest
and@DataMongoTest
. - Write a BlockHound module to detect blocking code.
Get hands-on with 1400+ tech skills courses.