in Service Discovery by
Q:
What is the difference between Mock & Stub?

1 Answer

0 votes
by

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

+1 vote
asked Aug 20, 2020 in C Sharp by RShastri
0 votes
asked Jan 14, 2020 in Agile by JackTerrance
0 votes
asked Sep 13, 2020 in Agile by Robindeniel
+1 vote
asked Dec 20, 2019 in Service Discovery by sharadyadav1986
0 votes
asked Jul 29, 2020 in Oracle by Hodge
0 votes
...