I have maganged to unit test all the function that are using data from my database.
The problem starts when I want to check the data itself, what happens if the schema of my DB changed? All the other unit tests are using DB stubs and not the real data.
How can I check the schema of the DB? here I must not mock it, because I want to check the real schema.
Aucun commentaire:
Enregistrer un commentaire