mercredi 30 décembre 2015

MS Unit Framework for C++

I am using MS unit framework to write unit tests in VS2013.

I have following questions - 1. How to write unit tests for global functions ? 2. How to write unit tests for static member functions of a class ? 3. How to write unit tests for overloaded member functions of a class ?

Lets say i have 2 class fuctions as - void fun(); void fun (int a);

How to write unit test for above example ?

Ref link http://ift.tt/1NEbrD8

Regards, Parikshit.

Aucun commentaire:

Enregistrer un commentaire