This release has long been overdue and brings mostly bug fixes and increased C++17 support:
This release fixes a compilation error when building with VS2015.
A side effect is that the round parenthesis syntax used to wrap signatures containing commas has now become deprecated: it may or may not work dependening on the compiler used.
The recommended way now is:
MOCK_CLASS( mock_class )
{
MOCK_METHOD( method, 0, BOOST_IDENTITY_TYPE((std::map< int, int >())) )
};
For more information see http://turtle.sf.net
This release fixes a few bugs.
For more information see http://turtle.sf.net
This release fixes a few bugs.
For more information see http://turtle.sf.net
The new source repository has become https://github.com/mat007/turtle
Pull requests are welcome !
This release adds thread safety support.
For more information see http://turtle.sf.net
This release introduces compatibility breaking changes.
For more information see http://turtle.sf.net
This release introduces several changes to support C++11 features :
For more information see http://turtle.sf.net
This is a maintenance release with the following changes :
For more information see http://turtle.sf.net
This release focusses on providing a better API for compilers with variadic macros support :
This is a maintenance release with the following changes :
This is a major release which unifies member functions and functors, and introduces mock functions and mock static member functions.
As a side effect backward compatibility could not be preserved, and existing code has to be adapted.
Before | Now |
---|---|
MOCK_FUNCTOR( signature ) functor; | MOCK_FUNCTOR( functor, signature ); |
MOCK_EXPECT( object, identifier ) | MOCK_EXPECT( object.identifier ) |
MOCK_EXPECT( pointer, identifier ) | MOCK_EXPECT( pointer->identifier ) |
MOCK_EXPECT( functor, _ ) | MOCK_EXPECT( functor ) |
MOCK_VERIFY( object, identifier ) | MOCK_VERIFY( object.identifier ) |
MOCK_VERIFY( pointer, identifier ) | MOCK_VERIFY( pointer->identifier ) |
MOCK_VERIFY( functor, _ ) | MOCK_VERIFY( functor ) |
MOCK_RESET( object, identifier ) | MOCK_RESET( object.identifier ) |
MOCK_RESET( pointer, identifier ) | MOCK_RESET( pointer->identifier ) |
MOCK_RESET( functor, _ ) | MOCK_RESET( functor ) |
object.verify() | mock::verify( object ) |
object.reset() | mock::reset( object )... read more |
This is a maintenance release with the following changes :
This is a bug fix and enhancements release with the following changes :
This is a maintenance release with the following changes :
Turtle is an open-source C++ mock object library based on Boost with a focus on usability, simplicity and flexibility.
Driven by years of using different other mock object libraries both in C++ and Java, this library is already being used successfully in a production environment.
For more information see http://turtle.sf.net