For microservices, what strategy should be adopted for effective unit testing?
- Avoiding unit testing altogether
- Ignoring unit tests for microservices
- Mocking external dependencies
- Relying solely on end-to-end testing
Effective unit testing in microservices often involves mocking external dependencies to isolate each microservice during testing.
Loading...
Related Quiz
- What is the main difference between SSL and TLS protocols in web services?
- What is the primary architectural constraint of a RESTful web service?
- _______ testing focuses on the communication paths and interactions between components to detect interface defects.
- How does JWT ensure the integrity of messages?
- For web services communication, SOAP relies on _______ for message format validation.