Select a tag to browse associated projects and drill deeper into the tag cloud.
Moq (pronounced "Mock-you" or just "Mock") is the only mocking library for .NET developed from scratch to take full advantage of .NET lambda expressions that make it the most productive, type-safe and refactoring-friendly mocking library available. And it supports mocking
PowerMock allows you to unit test code normally regarded as untestable. For instance it is possible to mock static methods, remove static initializers, allow mocking without dependency injection and more.
Spock is a testing and specification framework for Java and Groovy developers. What makes it stand out from the crowd is its beautiful and highly expressive specification language. Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools, and continuous integration servers. Spock
NSubstitute is a friendly substitute for .NET mocking frameworks. It's like a stub with property behaviour. With nice semantics for setting return values. It only has one mode - loose semantics, which you can query afterwards. It's meant to be simple, succinct and pleasant to use.
JMockit allows developers to write unit and integration tests without the testability issues typically found with other mocking APIs. Tests can easily be written that will mock final classes, static methods, constructors, and so on. There are no limitations. Most importantly, with JMockit all
Java by Convention Why "Sticky" well the sticky conventions let you build applications that don't need glue, it just sticks together, its "Sticky Code"
MockInject is a library that supports accurate injection of your mockobjects (manual written or generated). Supported injection points are constructor- or method-calls. The injection-points can be defined by using a simple edsl. It uses ByteCodeInstrumentation to inject your mocks, but you
A simple lightweight (<250 LOC) auto-mocker for .NET. The auto-mocker is written for the Moq mocking framework, but written to allow using different mock frameworks, though about 50% of the codebase is Moq specific. The auto-mocker also supports injection, allowing you to manually inject specific dependencies you wish to use in the test.
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.