December 2024
Intermediate to advanced
578 pages
12h 30m
English
https://packt.link/EarlyAccess/
This chapter is about testing your web services. Unit tests are good at detecting errors in business logic in a class or method, but you also need to verify that larger parts of your codebase work together with each other and external systems. This is where integration testing becomes important for web services.
Some external systems should be used directly in integration tests, and some should be replaced with a test double. Integration tests commonly call out-of-process systems like databases, event buses, and message queues. This makes ...
Read now
Unlock full access