Advertisment
Sponsor Category


NMock – Mock object library for .NET

NMock is a dynamic mock object library for .NET. Mock objects make it easier to test single components—often single classes—without relying on real implementations of all of the other components. This means we can test just one class, rather than a whole tree of objects, and can pinpoint bugs much more clearly. Mock objects are often used during Test Driven Development.

NMock 2.0 Release Candidate 2 is now available! The original NMock was a .NET port of the Java-based DynaMock, whereas NMock 2.0 is inspired by the newer jMock library. Expectations are defined using a much more “conversational” style, including plenty of syntactic sugar to improve clarity.

A dynamic mock object:

* takes on the interface of another object, allowing it to be substituted for a real one for testing purposes.
* allows expectations to be defined, specifying how the class under test is expected to interact with the mock.
* fails the test if any of the expectations are violated.
* can also act as a stub, allowing the test to specify objects to be returned from mocked methods.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Add to favorites
  • Live
  • StumbleUpon
  • Yahoo! Buzz

NMock – Mock object library for .NET Support Forum




Try Market Samurai For Free!


0 votes in total!!

Did you enjoy this post?

If so, would you please consider sharing it with the world

Leave a Reply




Advertisment
Advertisment



My Twitter Friends
Friends: Followers:
Latest Forum Posts

HTTP Client for SAP Process Integration

SAP Process Integration (PI) is SAP’s SOA Middleware and Integration Platform.  This tool makes it easier for SAP PI Consultants to post messages to SAP PI.   Features like Saving and Loading a project are provided.  HTTP client is developed in .net.

Shell Runner

A command shell tool for testing and running batch files, with a host of other options: timestamping output, saving error and output log files, marking error output in red, etc.
C#, .NET Framework 2.0.
Brought to you by MOBZystems, Home of Tools! ;-)

A command shell tool… Read More

CslaGenFork 4.0 CTP

O/RM code generator tool for CSLA.NET 4. It handles the generation of Business Layer and Data Access Layer code for Windows Forms, ASP.NET, WPF and Silverlight. It also generates Stored Procedures for SQL Server.
This a fork of CslaGen.
Althought all the new features are available only for CSLA.NET 4 targets, efforts

Read More

Trace Spy

TraceSpy is a pure .NET alternative to the very popular SysInternals DebugView tool.

Notables points of interest are:

  • It’s 100% .NET
  • It does not need UAC to be disabled nor special rights
  • It can remove empty lines (which is very handy to get rid of these pesky trace lines sent by Visual Studio 2010

Read More

.NET Configuration Manager

The “.Net Configuration Manager” tool allows developers to manage .net 2.0 configuration sections and perform the following tasks:
Validate configuration
Encrypt configuration files
Manage changes in configuration differences for deployment scenario’s
The tool is non-intrusive and can be ran from within Visual Studio.net or in a standalone tool.

The “.Net… Read More

Randoop.NET: API Fuzzing for .NET

Randoop.NET is an API fuzzing unit test generator for .NET libraries. It creates test cases by sequence of API method calls and it improves on random and static test generation by incorporating feedback during test generation.

Hawkeye – The .Net Runtime Object Editor

Debugging a managed Windows application is, most of the time, not an easy task. Thus, any tool that can help will make your life easier. Hawkeye is the only .Net tool that allows you to view, edit, analyze and invoke (almost) any object from a .Net application. Whenever you try to debug, test, change or… Read More

NUBuild – An advance .Net build tool

NUBuild is a command line .Net build tool that has been designed and developed keeping an individual developer in mind and also ease the continuous build and integration process. Has the ability to target all .Net framework versions.Developed with VB.Net and Net 2.0 framework.

NUBuild is a build automation software and is .Net based. It… Read More

Projecturo

Projecturo is a .NET based project management and ticketing tool (issue/task/feature tracking). It makes it very easy to manage your software development projects, tasks and tickets (bug, issues, features). It is developed in C# (.NET 3.5).

DotNetWinService

DotNetWinService offers a simple tool based on log4Net, Spring.NET and Quartz.NET that helps declaratively implement scheduled tasks inside a Windows Service. It’s developed in C# with Visual Studio 2008.