RMock 2.0.0 final release is out. Read about it in the release!
rMock-2.0.0-rc-1 http://rmock.sf.net
After five weekly beta-releases we feel that rMock-2.0.0 is mature enough for a first release candidate.
When You download and start using rMock You will find several features that you recognize both from EasyMock and jMock. You record expectations like with easyMock, but modifications look more like JMock.
rMock differs from both JMock and EasyMock primarily by it's stricter workflow. All mocks change state at once, always. All mocks are verified automatically, at the same time, without exceptions.... read more
Another week, another release.
The work this last week has been focused on updating rMock to support the documentation-generating sister-project rDoc (available in CVS only), so there are no new "visible" features this week. In rDoc, we have been able to generate sequence diagrams from invocation events from the mocked, stubbed and monitored objects. The diagrams are still not presentable, but we hope to get there soon, partly with the AspectJ proxy factory.... read more
Current features
* Mocking of interfaces and classes
* Stubbing of objects with expectations as restrictions
* Setup expectations on the actual method of the mocked object to support easy refactoring
* Expectation modification regarding:
o arguments
o return value
o exception throwing
o perform any generic action
o call multiplicity
* A describable Expression/Constraint model supporting advanced asserts and error messages for expectations, objects and arrays.
* DynamicSuites that are flexibly configurable to include or exclude test classes depending on their runtime properties (no more include="**/Test*")
* Nestable ordered and unordered sections for grouping and ordering expectations with clear error messages
* Message hub (formerly known as "message bus") - a publisher-subscriber solution where plugins can hook in to publish or subscribe to testing events. The api is still experimental, but more and more of rMock's core functionality is moving to the hub. The api is stabilizing, but it will probably be subject to change as we discover new needs.
* Plugin model (experimental) - by adding an RMockServiceFactory, like in Java's JAR specification, you can add your own services to the hub, and they will be available to all objects on the hub, e.g. your testcases that extends RMockTestCase. The plugin api will probably change.
* Expectation generator (experimental) - if you on a mock want to setup generic expectations on all methods matching a specific name pattern, e.g. make sure that all get/set-methods on a mock are called, the expectation generator can be used.... read more
Hi everybody!
We just released the beta 3 version of rMock. Please check it out on http://rmock.sourceforge.net !
Regards
Daniel Brolund
The rMock team proudly releases rMock-2.0.0 as beta-1.
In this beta release we have stabilized the API, increased our test-coverage and fixed bugs. Changes since the alpha-2 releasae include:
* Renamed member variable m on RMockTestCase to expect.
* Renamed ActionModifier methods returnsValue to returnValue and throwsException to throwException.
* Removed the ActionFactory and all references to it.
* Added a forward() method to ActionModifier.
* DynamicSuites can now reside in and find testcases in the default package (although that is NOT recommended!).
* Fixed so that also constructors with interface parameters can be found automatically.... read more
We have just released the second alpha rMock.
Current features:
* Mocking of interfaces and objects
* Stubbing of objects with expectations as restrictions
* Setup expectations on the actual method of the mocked object to enable IDE supported refactoring, code completion and code creation.
* Expectation modification regarding
-- arguments
-- return value
-- exception throwing
-- call multiplicity
* A describable Expression/Constraint model supporting advanced asserts and error messages
* DynamicSuites that are flexibly configurable to include or exclude test classes depending on their runtime properties (no more include="**/Test*")
* Nestable ordered and unordered sections for grouping and ordering expectations with clear error messages... read more