Changes for page Mocking

Last modified by chrisby on 2023/11/28 22:32

From version 1.10
edited by chrisby
on 2023/11/28 22:29
Change comment: There is no comment for this version
To version 1.9
edited by chrisby
on 2023/06/18 10:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,9 @@
1 1  === Purpose ===
2 2  
3 -* **Mocking simplifies unit testing by replacing the dependencies** of the unit being tested with simplified, simulated versions called mocks. Example: Consider a unit under test that relies on a database. In testing, the database can be mocked to return a static value, eliminating the need for an actual database.
3 +* Mocking simplifies unit testing by replacing the dependencies of the unit being tested with simplified, simulated versions called mocks.
4 +* Example: Consider a unit under test that relies on a database. In testing, the database can be mocked to return a static value, eliminating the need for an actual database.
4 4  
6 +=== ===
5 5  
6 6  === Benefits of Mocking ===
7 7