i want to understand more this sentence found in grails documentation : 'If the test is concerned with proving that the test subject interacts with a collaborator in a particular way, use a mock. If the fact that a collaborator behaves in a certain way exposes a particular behavior in the test subject the outcome of that behavior is what you are testing, use a stub' . Thanks
Aucun commentaire:
Enregistrer un commentaire