Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

Moq

Compare

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 ... [More] interfaces as well as classes. Its API is extremely simple and straightforward, and doesn't require any prior knowledge or experience with mocking concepts. [Less]

4.58537
   
  0 reviews  |  113 users  |  64,902 lines of code  |  6 current contributors  |  Analyzed 5 days ago
 
 

Unit testing framework for .NET 2.0, built on the lessons learned from NUnit 2.x and other test frameworks. Written by Jim Newkirk and Brad Wilson.

4.68421
   
  0 reviews  |  46 users  |  42,420 lines of code  |  3 current contributors  |  Analyzed 6 days ago
 
 

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.

5.0
 
  0 reviews  |  7 users  |  78,235 lines of code  |  10 current contributors  |  Analyzed 6 days ago
 
 

Write maintainable unit tests, faster. AutoFixture makes it easier for developers to do Test-Driven Development by automating non-relevant Test Fixture Setup, allowing the Test Developer to focus on the essentials of each test case.

4.8
   
  0 reviews  |  7 users  |  142,535 lines of code  |  7 current contributors  |  Analyzed 2 months ago
 
 

AutoPoco is a highly configurable framework for the purpose of fluently building readable test data from Plain Old CLR Objects. AutoPoco replaces manually written object mothers/test data builders with a fluent interface and an easy way to generate a large amount of readable test data. By ... [More] default, no manual set-up is required, conventions can then be written against the names/types of property or manual configuration can be used against specific objects. [Less]

5.0
 
  0 reviews  |  2 users  |  24,143 lines of code  |  0 current contributors  |  Analyzed 8 months ago
 
 

FsCheck is a tool for testing .NET programs automatically. The programmer provides a specification of the program, in the form of properties which functions, methods or objects should satisfy, and FsCheck then tests that the properties hold in a large number of randomly generated cases. While ... [More] writing the properties, you are actually writing a testable specification of your program. Specifications are expressed in F#, using combinators defined in the FsCheck library. FsCheck provides combinators to define properties, observe the distribution of test data, and define test data generators. When a property fails, FsCheck automatically displays a minimal counter example. FsCheck started as a port of Haskell's QuickCheck, and draws from ideas in Scala's scalacheck as well. [Less]

0
 
  0 reviews  |  2 users  |  18,908 lines of code  |  5 current contributors  |  Analyzed 7 days ago
 
 

Trapeze generates a suite of unit tests or specifications for existing Ruby source code. This is accomplished through dynamic analysis, by reflecting on the public interfaces of classes, modules and top-level methods defined in the source. Trapeze then exercises each object, module and method ... [More] , recording the behavior of the code. This recorded behavior is captured in a suite of test cases or specifications that can be rendered as test code or executable specifications. In essence, Trapeze is a tool for characterizing Ruby source code. Trapeze lets you fly high as you maintain and enhance a Ruby codebase that lacks test or spec coverage, knowing that you have a regression safety net underneath you. [Less]

3.0
   
  0 reviews  |  1 user  |  924 lines of code  |  0 current contributors  |  Analyzed 7 days ago
 
 

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 implementing them. Technologically this is similar to test driven development, however the shift ... [More] 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]

4.0
   
  0 reviews  |  1 user  |  3,146 lines of code  |  0 current contributors  |  Analyzed 6 days ago
 
 

NaturalSpec is a .NET UnitTest framework which provides automatically testable specs in natural language. NaturalSpec is based on NUnit and completely written in F# - but you don't have to learn F# to use it.

0
 
  0 reviews  |  0 users  |  41,329 lines of code  |  1 current contributor  |  Analyzed about 2 years ago
 
 

Araña web testing libraryAraña ("spider" in Spanish) is a simple web testing library, written in C#. It can be used to integrate simple testing of web applications into unit testing, so the parts of your web application can be tested separately as well as how they work together. Araña ... [More] can follow links, post forms and, through simple CSS selectors, ensure that the content on the pages of your web application is what you expect, and thus can be tested with unit test assert statements. Araña uses the HttpWebRequest and HttpWebResponse objects to fetch HTML documents and the Fizzler library to select elements from it to perform actions on. Araña works seamlessly with all unit testing frameworks and can be used in all open source applications running on either Microsoft.NET or Mono. The CSS querying capabilities is built with jQuery in mind and will, where it fits, match the jQuery API. ExamplesFollow a linkThe following example; Selects the a element with @class="first" inside the ul element with @id="menu" Follows it to the referenced URI (defined in the a@href attribute). Asserts that the title on the referenced page is equal to "Expected title". // Create an Araña engine for a given web application AranaEngine engine = new AranaEngine("http://example.com/"); // Select the anchor from the menu and follow it engine.Select("ul#menu a.first").Follow(); // Assert that the expected title is correct on the resulting page Assert.AreEqual("Expected title", engine.Select("title").InnerText);Post a formThe following example; Selects the form element with @id="aspnetForm" Submits the form; Without following redirect (indicated by the false argument to the Submit() method) With the form elements named username and password set to the values specified in the given NameValueCollection. Asserts that the location being redirected to is equal to "/success". // Create an Araña engine for a given web application AranaEngine engine = new AranaEngine("http://example.com/"); // Select the form and submit it without following redirect and with the given values. engine.Select("form#aspnetForm").Submit(false, new NameValueCollection { {"username", "Administrator"}, {"password", "2fmckX32a"}, }); // Assert that the location being redirected to is what we expect Assert.AreEqual("/success", engine.Response.Location);More examplesYou can find more examples on the Examples page. [Less]

0
 
  0 reviews  |  0 users  |  25,806 lines of code  |  0 current contributors  |  Analyzed 3 days ago
 
 
 
 

Creative Commons License 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.