Dec 20, 2019 in Service Discovery
Q: What is the difference between Mock & Stub?

1 Answer

Dec 20, 2019

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.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Aug 20 in C Sharp (C#)
Jan 14 in Agile
Sep 13 in Agile