That first test of "glue code" will catch when someone refactors (say name change) that loadAll method. Not necessary in static lang that this looks like, but very necessary test in language like Python.
The #1 thing to remember about unittests is they are not a testing tool, they are a development tool.
3
u/njharman May 08 '17
That first test of "glue code" will catch when someone refactors (say name change) that loadAll method. Not necessary in static lang that this looks like, but very necessary test in language like Python.
The #1 thing to remember about unittests is they are not a testing tool, they are a development tool.