|
|
|
|
|
by majikandy
809 days ago
|
|
Until you trust every part of the mock behaves the same as every part of the real database you use⦠most often the db is your boundary with nothing further downstream. At that point it really is just a faster disposable database, and totally is valid acceptance tests for the e2e system. Also nothing stops you from using a mock for some tests and a real database for others. It just comes down to trust. |
|