Paulo Morgado

.NET Development & Architecture

This Blog

Syndication

Search

Tags

News

Unit Test Today! Get Typemock Isolator!

Projects

Books

 

Visitors

Visitor Locations

Community

Email Notifications

Archives

Profile

Disclaimer

The opinions and viewpoints expressed in this site are mine and do not necessarily reflect those of Microsoft, my employer or any community that I belong to. Any code or opinions are offered as is. Products or services mentioned are purchased by me, made available to me by my employer or the manufacturer/vendor which doesn't influence my opinion in any way.

Browse by Tags

All Tags » Testing » .NET (RSS)
A TraceListener For Tests
In my code, I make extensive use of debug assertions (see System.Diagnostics.Debug.Assert ). These assertions are very helpful while debugging because you don’t need to step into every line of code to see if all pre-conditions are met. As soon as a pre...

Posted Sun, Jan 24 2010 23:59 by Paulo Morgado | with no comments

How To Set Elements Of An Array Of A Private Type Using Visual Studio Shadows
Visual Studio uses Publicize to create accessors public for private members and types of a type. But when you try to set elements of a private array of elements of a private type, things get complicated. Imagine this hypothetic class to test: public static...

Posted Tue, Jan 19 2010 0:26 by Paulo Morgado | with no comments

Typemock Is Launching The ASP.NET Bundle – Get Free Licenses
Typemock is launching a new product for ASP.NET developers – the ASP.NET Bundle - and for the launch they are giving out FREE licenses to bloggers and their readers. The ASP.NET Bundle is the ultimate ASP.NET unit testing solution, and offers both Typemock...

Posted Mon, May 18 2009 23:57 by Paulo Morgado | with no comments

Improving Debugging And Testing Through Assertions
Reading through the The Typemock Insider blog, I came across this post from Gil Zilberfeld . I myself tend to fall in Gil’s practice ("binary search" debugging), but I don’t think Kent Beck has the right solution . Gil’s suggestion of using...

Posted Wed, Dec 3 2008 2:56 by Paulo Morgado | with no comments

Typemock Isolator 5.1 Released
This major version adds static method support and non-public method faking to the AAA API. Check out the release notes . I don’t like the reflective approach to testing private methods. With the new additions to the AAA API, testing this class: public...

Posted Mon, Oct 6 2008 23:41 by Paulo Morgado | with no comments

Faking Output Parameters With Typemock Isolator
Some time ago I was asked if it was possible to fake output parameters with Typemock Isolator . It’s actually very easy using any of the APIs. Given this class: public class MyClass { public bool MyMethod( string input, out int output1, out double output2...

Posted Mon, Oct 6 2008 21:51 by Paulo Morgado | 2 comment(s)

Typemock Racer Alpha Is Out
Typemock has released an alpha version of its newest product: Typemock Racer . Typemock Racer is the tool that uses dynamic and static analysis to find deadlocks in .NET code that had been previously announced by Roy Osherove .

Posted Wed, Aug 20 2008 22:50 by Paulo Morgado | with no comments

Filed under: , , , ,

Typemock Isolator 5.0 Is Out With Its New AAA API
Typemock has released version 5.0 of its unit testing tool: Isolator . Check out the release notes . This new version comes with a new API: A rrange A ct A ssert: Isolator AAA API - The Basics Isolator AAA: Creating Fakes I’ll have to say that I liked...

Posted Wed, Aug 20 2008 22:33 by Paulo Morgado | with no comments

Isolator 4.3 Released!
Today Typemock released version 4.3 of Typemock Isolator . Download it from here . What’s new? Support for Ivonna . For those of you who develop ASP.Net applications, Ivonna is a great tool, built on top of Isolator’s platform, to simplify writing tests...

Posted Wed, Jul 2 2008 21:47 by Paulo Morgado | with no comments

Why Use Random Values For Unit Testing
On a previous post I introduced a library for generating random values for purposes of unit testing. I received a few comments and questions on my blogs [ ^ ][ ^ ][ ^ ][ ^ ]. Simon says that he’d “generally want every instance of the test I run to be...

Posted Mon, Jun 30 2008 0:40 by Paulo Morgado | with no comments

Using Random Values For Unit Testing
When writing my unit tests I don’t like to use hard coded fixed values because I either end up using the same values or, because of that, tests may succeed by coincidence. Over time, I have developed an helper class to generate random values for testing...

Posted Tue, Jun 24 2008 0:40 by Paulo Morgado | 5 comment(s)

Typemock Developers Community Site Updated
Typemock has updated its Developers Community Site with new sections. Besides the forums , there's a new add-ons page where anyone can share her/his tools or snippets (I guess I'll have to brush up my Typemock Snippets For Visual Studio to add...

Posted Thu, May 29 2008 0:54 by Paulo Morgado | with no comments

TypeMock Isolator 4.2 Released
TypeMock has released version 4.2 of its mocking framework: TypeMock Insulator. Check out the release notes . My four favorite new features in this release are: Improved mock chaining Debugger evaluation doesn't change the test behavior The debugger...

Posted Mon, Mar 3 2008 0:40 by Paulo Morgado | with no comments

Typemock Insulator Is Typemock Isolator
Yesterday I made a mistake with the name of the next version of TypeMock . The real name is TypeMock Isolator. Whatever the name is, you should try it out.

Posted Tue, Feb 5 2008 0:07 by Paulo Morgado | with no comments

TypeMock Insulator 4.2 Beta Publicly Available
TypeMock (now called) Insulator 4.2 Beta is publicly available. Check out the release notes . One of my favorite new features is the improved mock chaining. Take this class to be tested: public class TestedClass1 { public IDictionary < string , object...

Posted Sun, Feb 3 2008 22:16 by Paulo Morgado | 1 comment(s)

TypeMock: How to Make Reflective Mocks More Natural
Like I said before , this as been on the back of my mind for a while. A while back I introduced a way to get the MethodInfo of a method in a strongly typed way using LINQ , and that's how I'm going to make Reflective Mocks more Natural . Well...

Posted Thu, Jan 31 2008 23:56 by Paulo Morgado | 2 comment(s)

TypeMock Basic Introduction Screencast at Facebook
Roy Osherove done a nice introductory 10 minute screencast that shows some basic features in TypeMock .

Posted Sun, Jan 27 2008 22:42 by Paulo Morgado | with no comments

TypeMock Snippets For Visual Studio
I've just created a set of code snippets for Visual Studio for my most used features of TypeMock . Feel free to use it.

Posted Sun, Jan 13 2008 23:37 by Paulo Morgado | 9 comment(s)

Stop Designing for Testability (by Eli Lopian)
Eli Lopian from TypeMock™ , has an article on CodeProject about the disadvantages of design for testability and how to use TypeMock™ to remove these disadvantages while keep the advantages of unit testing. I have to say that I agree with Eli: design for...

Posted Wed, Dec 26 2007 21:25 by Paulo Morgado | with no comments

Unit Test Patterns for .NET (from TypeMock™)
There is a good set of articles about Unit Test Patterns in the TypeMock™ site: Unit-Test Patterns for .NET - Part I This article looks at patterns in unit testing and describes the main patterns found in tested .NET code. It also describes the problems...

Posted Wed, Dec 26 2007 20:21 by Paulo Morgado | with no comments

More Posts Next page »