Projects tagged ‘mock’ and ‘tdd’


[29 total ]

11 Users
   

FEST is a collection of compact and fluent APIs, which mission is to simplify software testing. The project provides libraries for: * Functional testing of Swing-based UIs * Functional ... [More] testing of JavaFX-based UIs * Fluent interface for assertions * Easy-to-use fluent interface for Java Reflection * Template for simplifying usage of mock objects [Less]
Created over 2 years ago.

6 Users

PHPMock is a standalone Mock Object library for PHP suitable for creating and verifying Mock Objects and Stubs. It was founded to write an independent Mock Object framework independent of any Unit Testing or Behaviour-Driven Development framework.
Created over 2 years ago.

2 Users

SystemWrapper is a library that wraps System resources like Directory, Assembly, ... so developers can create their by mocking the system resources.
Created 10 months ago.

2 Users
 

Create flexible mock objects for use when unit testing Flash and Flex projects. Supports method and property mocking with argument constraints, return values, event dispatch, error throwing, and more. ... [More] mock-as3 provides an expectation based API, allowing the setting of method and property expectations separate to the invocation of mocked methods. Just a taster of what mock-as3 looks like. // create an instance of a Mock delegate. var example:MockExample = new MockExample(); // get the reference to the Mock instance. var mock:Mock = example.mock; // set an expectation mock.method('hello').withArgs(String).andReturn('hi!').once; // call the method mock.hello('with a string'); // check that all the expectations were met mock.verify();See the SettingExpectations page for more examples. [Less]
Created about 1 year ago.

1 Users

Provides method stubbing for concrete Java classes, intended for use with JUnit 4.
Created 8 months ago.

1 Users

Yay! Mock aims to be a test framework-independent mock object library with the most flexibility possible. Based on jMock (Java) it makes expectations based on Invocation signatures rather than just on ... [More] method names and/or call timings. Mock objects only contain the methods of the original type they mock. In other words, mock objects created with Yay! Mock do not have any expectation methods embedded inside them; instead they "record" invocations to the context in which they were created. Yay! Mock encourages dependency injection and loose coupling without pushing you into corners of testing implementation details. It works with any unit testing framework. [Less]
Created about 1 year ago.

1 Users

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 ... [More] runner, Spock is compatible with most IDEs, build tools, and continuous integration servers. Spock is inspired from JUnit, jMock, RSpec, Groovy, Scala, Vulcans, and other fascinating life forms. [Less]
Created 9 months ago.

1 Users
   

Specter is an object-behaviour specification framework for .NET. It enables behaviour-driven development by requiring developers to write executable specifications for their objects, before actually ... [More] implementing them. Technologically this is similar to test driven development, however the shift in nomenclature removes the psychological barrier of writing "tests" for code that does not exist. (Existing projects implementing this idea include RSpec for Ruby and NSpec for .NET) Specter uses Boo meta-programming features and therefore allows very readable specifications to be written. [Less]
Created over 2 years ago.

1 Users

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 ... [More] defined by using a simple edsl. It uses ByteCodeInstrumentation to inject your mocks, but you needen't to have any Knowledge about BCI or JavaBytecode, just use the edsl. [Less]
Created about 1 year ago.

1 Users
   

Mockrunner is a lightweight framework for unit testing applications in the J2EE environment. It supports servlets, filters, tag classes and Struts actions and forms. Furthermore it includes a JDBC, a ... [More] JMS and a JCA test framework and can be used in conjunction with MockEJB to test EJB based applications. Mockrunner extends JUnit and simulates the necessary behaviour without calling the real infrastructure. It does not need a running application server or a database. Furthermore it does not call the webcontainer or the Struts ActionServlet. It is very fast and enables the user to manipulate all involved classes and mock objects in all steps of the test. It can be used to write very sophisticated unit-tests for J2EE based applications without any overhead. Mockrunner does not support any [Less]
Created over 2 years ago.