473,385 Members | 2,269 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Mocking Objects with Typemock Isolator Mocking framework for .NetUnit Testing

The advantages of unit testing are well known, giving development
teams a safety net to facilitate change, ease integration and supply
live documentation.Unit testing of small logical code is quite easy
and can show value quickly.
But in real life, our code will use other classes and components. If
this happens, things can get quite fragile and the tests will quickly
become system tests.
Typemock Isolator enables developers to unit test all their code by
magically disconnecting and isolating external components.
Typemock Isolator uses aspect-oriented technology to redirect calls
from the real code. This enables developers to define the behavior of
the external component required for a tested scenario. For example,
you can simulate that the disk is full when writing to a database by
instructing Typemock Isolator to throw an OutOfDiskSpaceException when
writing to the database. This is a scenario that will be nearly
impossible to test without Typemock Isolator. The developer defines
the behavior in the actual unit test and Typemock Isolator
automatically isolates all required components.

To learn more - http://www.typemock.com/Product.html
Aug 22 '08 #1
0 789

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Chris Capel | last post by:
I've heard a lot of talk on the forum about memory managment in .NET and disposing things, finalizing them, garbage collection, etc. My question is which managed types need to be disposed after...
3
by: Smithers | last post by:
In Windows Forms MDI applications... I'm wondering if it is standard practice to create DAL and business objects as static classes. The only alternative (please enlighten me if I'm wrong about...
3
by: Retep | last post by:
Hi all, hopefully someone can answer the following mystery for me: I have the following (simplified) application setup: Main Form | Form |
0
by: John Plummer | last post by:
Hi, I am trying to adopt TDD. I have a client Application that retrieves some data from a web service. To help with testing I want to use dependency injection and mock the web service. This...
10
by: gamename | last post by:
Hi, Currently, I'm using CUnit as a unit test tool. But there is one thing it really lacks: function mocking. In other words, changing what really gets called in subordinate routines so that a...
15
by: =?Utf-8?B?ZG91Zw==?= | last post by:
I hadn't had a class yet and I had some MS help on this to set up, but I wrote a .Net WS that creates a proxy class response using SOAP. Works fine. And in kind of a good way, the IDE has hidden...
3
by: andho | last post by:
I need to mock a resource like a directory in one of my unit tests. The method is checking if the directory exists and i don't want to create a directory just for testing purposes so is there anyway...
8
by: Andrus | last post by:
Code below causes error in class definition line .....Isolator<T>' does not implement interface member 'System.Collections.IEnumerable.GetEnumerator()'. 'Myapp.Isolator<T>.GetEnumerator()'...
0
by: mo.sparrow | last post by:
The advantages of unit testing are well known, giving development teams a safety net to facilitate change, ease integration and supply live documentation.Unit testing of small logical code is quite...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.