
9 Jun
2010
9 Jun
'10
6:27 p.m.
I am testing class A. However, class A makes some calls to class B. Does Boost.Test provide any "test harness" capability so that the responses from class B can be canned. I really only want to test class A, not A and B together. I hope the question makes sense.
You need to implement stub for the class B. If you have known interface it's pretty easy to prepare stub with pre-canned responses. Gennadiy