Given a scenario where you have a smart component that wraps 2 dumb components, and both dumb components have been thoroughly tested in separate unit tests, does it make sense to make deep tests when testing the smart component?
For example, querying a button that belongs to one of the components and clicking it? Or is it enough to just verify that the dumb components have been passed the correct inputs?
Aucun commentaire:
Enregistrer un commentaire