Stubs – Lightweight Test Stubs for .NET

Established: March 19, 2009

Stubs is a lightweight framework for .NET that provides test stubs. For interfaces and non-sealed classes, type-safe wrappers are generated that can be easily customized by attaching delegates. Stubs are part of Moles, and work well together with Pex.

Stubs is a lightweight framework for test stubs in .NET that is entirely based on delegates. Stubs may be used on interfaces, abstract classes or non-sealed classes. Stubs was designed provide a minimal overhead to the Pex white box analysis, and Stubs supports the Code Contracts runtime rewriter and encourage the programmatic models rather than record/replay tests.


Download Stubs! It’s part of the Moles framework.

 

People

Portrait of Peli de Halleux

Peli de Halleux

Principal Research Software Engineer

Portrait of Nikolaj Bjørner

Nikolaj Bjørner

Partner Researcher