mercredi 22 mai 2019

Need help differentiating between mocks and test drivers

I'm confused to say the least. I might be getting Mocks wrong, Test Drivers wrong or maybe both.

My understanding of Mocks is that it's a way of imitating units, to avoid depending on specific parts of your system when testing.

My understanding of Test Drivers is that it's specifically used for Bottom-up integration testing, to imitate High Level Modules, which haven't been implemented yet.

To me that makes Test Drivers sound like a type of Mock, but are Mocks specifically a unit testing thing?

What's the difference between the two?

Aucun commentaire:

Enregistrer un commentaire