A Mock is generally a dummy object where certain features are set into it initially. Its behavior mainly depends on these features, which are then tested.
A Stub is an object that helps in running the test. It functions in a fixed manner under certain conditions. This hard-coded behavior helps the stub to run the test.
Posted Date:- 2021-09-24 05:32:46
Why do Microservices require a DevOps approach??
What is a bounded context in microservices?
What is the Service Discovery pattern in microservices?
What is a Log aggregator pattern in Microservices?
What tools can be used for monitoring microservices?
What is feign client in microservices?
What are the most common mistakes while transitioning to Microservices?
Which acts as a database of services in microservices?
How are the problems with distributed transactions addressed in microservices?
What is a circuit breaker pattern in Microservices?
What is the CQRS pattern in microservice??
What is a saga pattern in microservices?
Efficient utilization & fast deployment represent which pattern in microservices?
What is Tasklet, and what is a Chunk? ↑
What is blue/green deployment?
What is load balancing in Spring Cloud?
What factors make one hesitant to use microservices?
List some of the best practices to design Microservices.
Briefly tell about serverless deployment strategy of Microservices deployment.
What are the three types of tests for Microservices?
What is a ‘dumb pipe’ in Microservices?
How to implement microservices in java?
Why are containers a good infrastructure for microservices?
What is Spring Cloud Gateway? What are its advantages over Netflix Zuul
How to achieve server side load balancing using Spring Cloud
What does one mean by Load Balancing ? How is it implemented in Spring Cloud
Give one/a few examples of microservices implementation.
Where is the WebMVC Test Annotation used?
What are the most common mistakes while transitioning to Microservices?
How do you create State Machines out of Microservices?
How to achieve zero-downtime deployment(blue/green) when there is a database change?
Can we create State Machines out of Microservices?
What is Continuous Monitoring?
What do you mean by Continuous Integration (CI)?
How will you deploy Exception Handling in Microservices?
What is Tasklet, and what is a Chunk?
What is Spring Batch Framework?
When will you see fit to use the Netflix Hystrix?
How will you balance the server-side load by utilizing Spring Cloud?
What are Reactive Extensions in Microservices?
What are the different types of credentials of a two-factor Authentication?
What is the difference between Mock & Stub?
What can you derive/understand from Conway’s Law?
How will you Configure Spring Boot Application Login?
How can we eradicate non-determinism in tests?