jeudi 24 septembre 2015

Should model classes be tested?

Should model classes be tested?

Model classes does not contain logic, but usually contains some logic in the constructor for initialization.

These class are also shared, therefore it a very important that these class initializes correctly.

What is the standard for testing, should model classes be tested? Or the class that make use of them have responsibility to test them?

Aucun commentaire:

Enregistrer un commentaire