Skip to content

Commit 2c275f2

Browse files
Fix documentation.
1 parent ae92026 commit 2c275f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ The main approach of these tools is to perform unit tests without using mocking
1818
### Why is this approach recommended?
1919

2020
- Around 30% to 40% of the code in applications is located in the Data Access layer or repository components. Because it is hard to unit test, developers often skip testing,
21-
- resulting in lower code coverage (30%-40%).
21+
resulting in lower code coverage.
2222
- When using a mock or in-memory approach for a `DbContext`, you don't truly test the Entity Framework mapping to your database, especially additional SQL constraints like nullability, uniqueness, foreign key cascades, etc.
23-
- You also miss technical behaviors like transactions, connection management, etc.
23+
You also miss technical behaviors like transactions, connection management, etc.
2424
- When inserting data, it is crucial to ensure that the data in the columns are stored correctly (null/not null values, enum values to numerical values, custom or JSON serialized data, etc.).
2525
- If you use Entity Framework, you can detect warnings/errors raised by the `DbContext` that might not appear in logs when deploying the application.
2626
- You perform unit test cases, meaning you write simple tests to validate small features instead of writing complex integration tests.

0 commit comments

Comments
 (0)