Timeline for Should I unit test the consuming class or the class running the logic?
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 20, 2016 at 12:38 | comment | added | FLSH | Suppose I create another class which also consumes VatCalculator in a similar way, and I also want to write unit tests for this class to confirm VAT is applied correctly. I would surely end up writing the exact same tests. Is this a bad thing? | |
| Sep 20, 2016 at 12:02 | history | answered | David Arno | CC BY-SA 3.0 |