Running Typemock Isolator Tests using TeamCity Nunit Runner

Wendy just sent me over an email telling me how she was able to use TeamCity’s Nunit test runner to run Unit tests that use Typemock. the "problem" was that for typemock to run, it’s profiler needs to be active as part of the unit runner process.

here’s what she did:

"figured it out – I used the environmental variables setting for the build and set the values from mocking_on:

Cor_Enable_Profiling=0x1

COR_PROFILER={B146457E-9AED-4624-B1E5-968D274416EC}

I’m so clever :P"

Indeed you are! Thanks for the heads up, Wendy.

the Mocking_on she refers to is the mocking_on.bat that comes as part of the Typemock Isolator installation.