Typemock Isolator within an Automated NAnt Build Script

Mehfuz Hossain has a very detailed and interesting post on how he performs a build, and includes a description on how he integrates Typemock Isolator into his build process. He’s using NAnt as a build engine, and he obviously uses the Isolator NAnt tasks within it. Mehfuz uses Isolator open-source version which is available at Typemock download page.

Just a small clarification. From the original post (and the NAnt script):

<TypeMockRegister Company ="Open Source" License="Get one for you" AutoDeploy="True"/>

The company and license that appear here are examples. When you download Isolator, you will receive a real license which you then embed in this line of code.

Just to repeat what we already know: Automatic build scripts running your tests is an extremely efficient tool for feedback. With the addition of Isolator, it allows you to run your unit tests, get better code coverage, and let you know quickly if anything is wrong and where, so you can fix it quickly.

Use it.