Script Based Build on TFS and VSTS
To allow mocking, Isolator interception has to be deployed and enabled before any unit tests are run. For a developer this is done automatically within the Visual Studio IDE.
How to install script based Typemock tasks see here.
To do this as part of your build process use these tasks:
Unit test runner which can run MSTest, Nunit, Suggested and Sandboxed tests. Doesn't required deployment, so can run on TFS and VSTS.
Similar to MStest task but with integrated Typemock mocking options. Required deployment, so can run only on On Premesis Agents with Administrative permissions.