As far as I understand, there are two main methods to test a class.
- test class to extend the class under test
- test class to create the class under test (composition)
As far as I can tell, the first method is considered to be a bad practice.
but why is that?
Aucun commentaire:
Enregistrer un commentaire