3
votes
2answers
91 views

Proper pattern for setting up tests of basic database operations

Trying to write tests for basic database operation, I'd like to understand what is the standard or proper pattern for setting up the data, so that only the functionality that should be tested is ...
3
votes
2answers
84 views

Is it OK to use the classes under test to initialize the database for the tests?

I am working at a small in-house dev department in a non-IT organisation. Me and another junior dev are creating a mid-sized CRUD web application in ASP MVC. There is no formal test process in our ...