Menu

Mock Objects for C++ / News: Recent posts

mockpp-1.14.0 available

New class RandomStub creates random numbers based on std::rand() within a given range.

Better support for pkg-config (thanks to a contribution)

Posted by Ewald Arnold 2006-09-24

mockpp-1.12.0 available

- new constraint TriggeredOutbound together with TriggerStub
and ReturnAndTriggerStub provide the use of outbound values
based on another incoming method parameter

- some fixes to ministl due to warnings with g++ 4.x

- cleanup documentation (api + handbook)

Posted by Ewald Arnold 2006-08-16

mockpp-1.10.0 available

This release introduces a set of template classes to replace the macros needed so far to create and influence mock objects. The basic working method does not change but it should be easier now to work with mockpp.

Posted by Ewald Arnold 2005-11-19

mockpp-1.8.0 available

A new section in the handbook about optimizing production code for testing purposes has been started. There is also a sample implementation on how to handle time dependencies.

Posted by Ewald Arnold 2005-05-06

mockpp-1.7.1 available

Broken configuration files for non-autoconf platforms have been fixed.
The readability of error messages has been improved.

Posted by Ewald Arnold 2005-04-10

mockpp-1.7.0 available

Besides some minor enhancements and fixes there are now project files for msvc71. Compilation under cygwin now works for both the ascii and unicode version.

Posted by Ewald Arnold 2005-04-03

mockpp-1.6.1 available

Added missing File MixedMockObject.h to the distribution.

Posted by Ewald Arnold 2005-03-16

mockpp-1.6.0 available

- MixedMockObject combines enhanced mock objects
- scope fixes for g++ 3.4.3
- fixes for g++ 2.95.3 and OpenBsd3.1
- fixed non-working class IsInstanceOf

Posted by Ewald Arnold 2005-03-13

mockpp-1.5.0 available

The possibility to pass constraint objects to VisitableMockObjects relaxes its strict working method. There is a new class ConstraintList and some other minor enhancements.

Posted by Ewald Arnold 2005-03-05

mockpp-1.4.0 available

- mock objects reset all their sub objects
- all mock objects get their own reset() method
- ReturnObjectList has an optional default return value

Posted by Ewald Arnold 2005-02-25

mockpp-1.3.0 available

New TrackingCounter classes have been added to track occurrences.

Posted by Ewald Arnold 2005-02-19

mockpp-1.2.0-final available

All known bugs and issues preventing a final release have been fixed. The documentation has been overworked.

Posted by Ewald Arnold 2005-01-30

mockpp-1.2.0-beta4 available

The handling of setExpected()/setExpectNothing() was modified: setExpected() now revokes setExpectNothing(). Some bugs in methods related to this have been fixed.

Posted by Ewald Arnold 2005-01-08

mockpp-1.2.0-beta3 available

Several minor issues have been fixed and the documentation has been extended. There is now a tutorial available for download as well as online at http://mockpp.sf.net/tutorial .

Posted by Ewald Arnold 2005-01-07

mockpp-1.2.0-beta available

There is a new mock object approach ported from jMock. This new way provides higher flexibilty when generating mock objects. The macros have been extended and now they should cover all types of methods and their parameters. The handbook has been extended.

Posted by Ewald Arnold 2004-12-02

mockpp 1.2.0beta coming soon

Currently there is a port of jMock in the works. This will offer another MockObject approach which removes several limitations with the current implementation.

Download from cvs if you are interested.

See http://jmock.org/getting-started.html for an introduction into the java original.

Posted by Ewald Arnold 2004-09-11

mockpp 1.1.16 available

Fixes and workarounds for MS VC6 and G++ 3.4.

Posted by Ewald Arnold 2004-08-03

mockpp 1.1.15 available

Added an extended set of macros which allow the use of "const" and references in mock method parameters.

Posted by Ewald Arnold 2004-07-31

mockpp 1.1.13 available

Unicode support for msvc and some minor bug fixes regarding string formatting with %-placeholders.

Posted by Ewald Arnold 2003-12-11

mockpp 1.1.10 available

Version 1.1.10 of mockpp support the follwoing platforms:

From my personal experience mockpp is now running on
- Linux (SuSE 8.2) + gcc 3.3
- OpenBsd 3.1 + gcc 2.95.3
- Windows (ME, NT) + Borland CBuilder 5
From reports I know that the following combination work fine, too:
- Windows + MSVC6 / MSVC7

The following combination had problems but I expect it to work now:
- HP-UX 11 + g++ 3.2

Posted by Ewald Arnold 2003-05-02

mockpp 1.1.8 released

This release fixes a bug and some minor problems. It also includes a port to OpenBSD and gcc 2.95.3.

Posted by Ewald Arnold 2003-04-13

mockpp 1.1.5 available

This bug fix release closes a memory leak and should now compile and run on Windoze under BCB5.

Posted by Ewald Arnold 2003-03-10

mockpp final release available

mockpp is a platform independent generic unit testing framework for C++. It's
goal is to facilitate developing unit tests in the spirit of
Mock Objects (http://www.mockobjects.com) and EasyMock
(http://www.easymock.org).

Mockpp has no own testing framework. So CppUnit (http://cppunit.sf.net) is
recommended.

The main development platform of mockpp is Linux. But it is intended to be
platform independent and a port to Borland BCB is already in work. ... read more

Posted by Ewald Arnold 2003-03-08

mockpp 1.0.1-beta1 available

Hopefully the last beta/preview before the final and complete release.

Some bug fixes and the new VisitableMockObject which works almost
completely. Docs are still incomplete. Only autoconf platforms are known
to compile currently.

Posted by Ewald Arnold 2003-02-16
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.