4 ms·
Unit tests are complementary to assertions, they don't supersede them. I feel that assertions are the first line of defense against programming judgement error
by indigoabstract 3y ago
Unit tests are complementary to assertions, they don't supersede them.
I feel that assertions are the first line of defense against programming judgement errors/omissions and are much easier to write in the given context than unit tests.