Raffaeu Garofalo is taking some time away from sunning in Bermuda and exploring unit testing with Typemock. In his latest article, he discusses control behaviors. He discusses how you can control the behaviors of a mock so that you do not have to control or fake the entire object if you are testing a single …
Tag Archive: tutorials
Permanent link to this article: http://www.typemock.com/blog/2011/08/16/typemock-tutorial-control-behavior-2/
Jul
11
Typemock Tutorial: Object Creation
In our first post, Raffaeu Garofalo, got us starting with Typemock Isolator. In his second post, Raffaeu discusses object creation: how to deal with objects and classes in general. Read his post His conclusion: As you can see, TypeMock is pretty cool and it allows you to control the way we can create and fake …
Permanent link to this article: http://www.typemock.com/blog/2011/07/11/typemock-tutorial-object-creation-2/
Jul
04
Typemock Tutorials: How to Get Started
Downloaded Typemock Isolator and not sure how to get started? One Typemock customer, Raffaele Garofalo has written a tutorial on how to get started with Isolator. This will be part of a weekly series he will be writing on his site about Isolator and unit testing. Read the whole guide here. Setup and Install Explore …
Permanent link to this article: http://www.typemock.com/blog/2011/07/04/typemock-tutorials-how-to-get-started-2/
Jul
19
Free Unit Testing Webinar on LIDNUG with @Typemock
I want to quickly tell you about an upcoming live unit testing webinar, featuring Gil Zilberfeld from Typemock, that you may find valuable. Here’s the abstract: Unit Testing in the Wild You know that unit testing is good for you. But the calculator examples that you’ve read are not helpful in the real world. …
Permanent link to this article: http://www.typemock.com/blog/2010/07/19/free-unit-testing-webinar-on-lidnug-with-typemock/
Jun
11
WCF Tip – How to unit test an ErrorProvider
A while ago this problem was brought to my attention by one of our customers: WCF enable us to add a custom error handler as part of the service implementation: The implementation of ErrorHandler is pretty straight forward: Writing a unit test for the error handling code seems easy (using Isolator) just call Fault and …
Permanent link to this article: http://www.typemock.com/blog/2009/06/11/wcf-tip-how-to-unit-test-an-errorprovider/
Mar
29
Virtual Tech-Days Session: TDD with Typemock Isolator
On April 1st Microsoft is hosting a 24 hour event of technology learning. If you’re reading this blog you might be interested to listen to one specific session called "Starting TDD with Mock objects" presented by yours truly. So if you’re new to TDD or want to learn about Isolator (or both) you can listen …
Permanent link to this article: http://www.typemock.com/blog/2009/03/29/virtual-tech-days-session-tdd-with-typemock-isolator/
Dec
17
Starting Test Driven Development using Typemock Isolator – Part 1
There are a lot of good tutorials on how to start Test driven development (TDD) that help understanding how he can start using this software development methodology. Unfortunately most of those tutorials explain how to write simple unit test to test some imaginary class and do not explain using mocking frameworks as part of the …
Permanent link to this article: http://www.typemock.com/blog/2008/12/17/starting-test-driven-development-using-typemock-isolator-part-1/
Nov
28
How to Run SharePoint Tests on a Developer Machine
So you think you can test SharePoint only on a server? When I do my demos, it’s on a Windows XP machine. And that includes running the SharePoint demos. If you try installing SharePoint services on an XP it won’t let you. So what’s the secret? Our SharePoint examples (installed both in Isolator and Isolator …
Permanent link to this article: http://www.typemock.com/blog/2008/11/28/how-to-run-sharepoint-tests-on-a-developer-machine/
Nov
13
Unit testing SharePoint with Isolator – article and white paper
Looking for more information on unit testing SharePoint? Andrew Woodward from 21 Apps posted a blog post and a detailed white paper with great examples for unit testing SharePoint with Typemock Isolator. The article (and the previous article linked from there) is a good read on unit testing, SharePoint specific challanges and practical examples on …
Permanent link to this article: http://www.typemock.com/blog/2008/11/13/unit-testing-sharepoint-with-isolator-article-and-white-paper/
Sep
14
The woes of multithreaded design – How to find deadlock using Typemock Racer
I came across an article on Dr’ Dobb’s I’d like to share called The woes of multithreaded design. The amazing thing is that although the article was published at 1997 (11 years ago) the problem described in it is still relevant today. The article explains basic multithreading concepts (in Java) such as threads, thread safety …
Permanent link to this article: http://www.typemock.com/blog/2008/09/14/the-woes-of-multithreaded-design-how-to-find-deadlock-using-typemock-racer/
