lundi 8 juin 2015

Unit testing a class A that derives from an abstract class B

I am required to unit test a class B that derives from an abstract class A, which has some implementations.

My question is - what is the best practice? Should I unit test abstract class A and then unit test the derived class B? Or should I have unit test class A directly? Thank you for the insight.

Aucun commentaire:

Enregistrer un commentaire