August 2017
Intermediate to advanced
332 pages
9h 16m
English
In the case of unit testing, we don't use the real database. We either mock the test data on the level of the persistence mechanism (repositories, data access objects) or we fake the real database with an in-memory database (for example, H2 database). Since unit tests are created by developers, the exact data values are usually invented by developers and they don't matter much.
Read now
Unlock full access