In the “How do I test an abstract base class if I can’t instantiate it?” post, you found out that you can actually test an abstract base class even though you can’t instantiate one.
The “all you need to do is” end of the post, however,
…
In the “How do I test an abstract base class if I can’t instantiate it?” post, you found out that you can actually test an abstract base class even though you can’t instantiate one.
The “all you need to do is” end of the post, however,
…
You have a set of classes to write. Classes that have details specific to each, but that also have a lot in common.
You don’t like to repeat yourself and like your code DRY.
So you have created a base class to contain all the common code.
…