|
|
|
|
|
by parasense
531 days ago
|
|
No... for pete sake no! The whole point of mocks for data base is not to test schema changes, it's to test a unit of code. These most certainly do not change the additional requirement of integration testing with real database tables. That usually happens after all the unit tests, obviously, because why spin up a big heavy database test pipeline if the code logic fails. |
|
the only reason to write a unit test is if the integration test would run too long.