[test] Does boost.test support mock objects?

Hi, One facility that I really love about Google test is their mock object framework. It facilitates the development of tests/stub objects. Note that this is also delivered in easy mock and mockpp. Does anyone know if Boost.Test offers such a thing? I've looked through the documentation and I couldn't find anything. Thanks, J

On 9/2/2011 10:21 PM, Jonathon wrote:
Hi,
One facility that I really love about Google test is their mock object framework. It facilitates the development of tests/stub objects. Note that this is also delivered in easy mock and mockpp.
Does anyone know if Boost.Test offers such a thing? I've looked through the documentation and I couldn't find anything.
Boost.Test does not have a mock facility built in. You can use other mock frameworks like Google Mock - see: http://code.google.com/p/googlemock/wiki/ForDummies#Using_Google_Mock_with_A... I am not necessarily advocating google mock, just pointing out the possibility. Stackoverflow has more opinions on this very question in various posts. Ed

On 9/3/2011 7:35 PM, eg wrote:
On 9/2/2011 10:21 PM, Jonathon wrote:
Stackoverflow has more opinions on this very question in various posts.
You should also search this mailing list ;-) http://boost.2283326.n4.nabble.com/Recommended-mock-framework-to-use-with-Bo...
participants (2)
-
eg
-
Jonathon