My testing class has dependencies on the many other classes. To simulate certain conditions for my test cases I will have to stub external methods. This will force me to re implement all my external methods. Is there any way I can write stubs and at the same time retain original implementation too. This gives me choice to either call stubs or original code depending on my testcases. Is any one working on such topics? If so how can this be achieved without modifying the source code of the testing class or function.
Have seen some features in few testing frameworks which are paid. But I was thinking of extending CPPunit test framework.
Any inputs in this regards will be appreciated.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.