Boost logo

Boost Users :

Subject: Re: [Boost-users] [test] Does boost.test support mock objects?
From: eg (egoots_at_[hidden])
Date: 2011-09-03 22:35:28

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:

I am not necessarily advocating google mock, just pointing out the

Stackoverflow has more opinions on this very question in various posts.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at