Best practice Unit testing abstract classes?
- by Paul Whelan
Hello
I was wondering what the best practice is for unit testing abstract classes and classes that extend abstract classes.
Should I test the abstract class by extending it and stubbing out the abstract methods and then test all the concrete methods? Then only test the methods I override and the abstract methods in the unit tests for objects that…