mercredi 15 août 2018

Integration or unit testing? Testing classes without access to external systems

Integration tests depends on external systems such as database or network connection. These components should be mock in unit testig. But when we testing three different classes which behavior depends on each other is this an integretion or unit test? Should that classes be mocked? Lets assume that these classes have no acces to external systems and their behavior is strictly connected.

Aucun commentaire:

Enregistrer un commentaire