we have a azure mobile service implemented for one cross platform mobile app. We have used azure mobile services to expose the back end to mobile apps.
All the controllers we are using extending table controller and most of the service methods has some custom logic implemented. Now we wanted to unit test these custom logic.
Is there any way we can mock table controllers and write unit tests? I have tried everywhere and even i have checked MSDN forums also. I could n't get any info about it. Let me know, if anyone done this and can share a sample.
Aucun commentaire:
Enregistrer un commentaire