Shoulda makes it easy to write elegant, understandable, and maintainable tests. Shoulda consists of test macros, assertions, and helpers added on to the Test::Unit framework. It’s fully compatible with your existing tests, and requires no retooling to use.
Provides a library of matcher objects (also known as constraints or predicates) allowing 'match' rules to be defined declaratively, to be used in other frameworks. Typical scenarios include testing frameworks, mocking libraries and UI validation rules.
Mocha is a library for mocking and stubbing using a syntax like that of JMock, and SchMock. Most commonly Mocha is used in conjunction with Test::Unit, but it can be used in other contexts.
One of its main advantages is that it allows you to mock and stub methods on real (non-mock) classes and
... [More] instances. You can for example stub ActiveRecord instance methods like create, save, destroy and even class methods like find to avoid hitting the database in unit tests.
Mocha provides a unified, simple and readable syntax for both traditional mocking and for mocking with real objects.
Mocha has been harvested from projects at Reevoo by me (James) and my colleagues Ben, Chris and Paul. Mocha is in use on real-world Rails projects. [Less]
PHPSpec is a Behaviour-Driven Development (BDD) framework written for PHP5.
It's objective is to supply a domain specific language for specifying the behaviour of code in terms of executable examples which although similar to unit tests, encourages a mind set better suited to applying BDD or TDD.
... [More] This involves highly readable examples written using a plain English style DSL. Indeed, these examples can be parsed into plain text specifications which can be gived to anyone outside a developer group. [Less]
JMockit allows developers to write unit and integration tests without the testability issues typically found with other mocking APIs.
Most importantly, with JMockit all programming practices, patterns, and styles are supported equally, without forcing developers to make compromises just for the sake of unit testing.
Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.
AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests in order to maximize maintainability. Its primary goal is to allow developers to focus on what is being tested rather than how to setup the test scenario, by making it easier to create object graphs containing test data.
UnitTest++ is a lightweight unit testing framework for C++.
It was designed to do test-driven development on a wide variety of platforms. Simplicity, portability, speed, and small footprint are all very important aspects of UnitTest++.
UnitTest++ is ANSI portable C++ and makes minimal use of
... [More] advanced library and languages features, which means it should be easily portable to just about any platform. Out of the box, the following platforms are supported:
* Win32
* Linux
* Mac OS X [Less]
This site uses cookies to give you the best possible experience.
By using the site, you consent to our use of cookies.
For more information, please see our
Privacy Policy