mercredi 27 janvier 2016

Unit test using dependency injection and mock objects without hitting Database

I'm new to unit testing.Can anyone explain me about how to done unit testing without hitting Database.

And also i want to know that, Is dependency injection essential for unit testing? If yes, explain me with a sample code. It will be helpful for me.

Aucun commentaire:

Enregistrer un commentaire