I recently tried to introduce tests for data access objects in a little crud app still in the making. Even though there isn't that much logic in the methods of those DAOs, it still seemed sensible to me to basically check all expected permutations, e.g. "if I call this method with these params and have this data in the db, this is what I expect".
-
← Previous
DailyDogo 1021 🐶 -
Next →
DailyDogo 1022 🐶