3 ms·
Right. Unit tests are typically a waste of time unless you have some complicated business logic (say, some insurance rates calculation, etc.). This was advocat
by piokoch 3y ago
Right. Unit tests are typically a waste of time unless you have some complicated business logic (say, some insurance rates calculation, etc.).
This was advocated long time ago in the (great) book "Next Generation Java Testing: TestNG and Advanced Concepts" by Cédric Beust and Hani Suleiman (old people will remember his (in)famous The Bile Blog...).
- Aeolun 3y agoUnit tests are fine for testing any kind of logic. Whether you consider the logic important is a different question.