... |
... |
@@ -1,9 +1,7 @@ |
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. |
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. |
|
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. |
5 |
5 |
|
6 |
|
-=== === |
7 |
7 |
|
8 |
8 |
=== Benefits of Mocking === |
9 |
9 |
|