To integrate Typemock Isolator with NAnt, you need to add Typemock Isolator’s tasks to the NAnt project file and define parameters of these tasks, if necessary.
Typemock Isolator provides the following tasks:
•typemockregister: registers the Typemock Isolator license
•typemockstart: starts using Typemock Isolator
•typemockstop: stops using Typemock Isolator
To run nUnit with Typemock Isolator, nUnit must be run in a new executable with the <Exec> task (the <Nunit2> task will not work).
It is recommended to run the executable to support different NUnit versions than those distributed with NAnt.
Plug-and-Play Profiling works with NAnt tasks too. Run the tool as part of the contained task parameters.