Welcome to Typemock Answers. Here you can ask and receive answers from other community members. And if you liked or disliked an answer or thread: react with an up- or downvote Enjoy!

Enabling typemock on a TFS build server via PowerShell

+2 votes
I know we have to use the typemock.tfs2013.dll and it contained activities to enable Typemock mock within a TFS build.

As TFS 2013 now has a PowerShell hook before and after the test step would it be possible to replace these activities with a PowerShell script?

I tried writing my own (attached) which as the same logic as is contained in your DLL, but they don't seem to work. They load without errors, seem to set the correct environment variable, but any mock test fails as if the runner is not running.

Any idea why this may be. It is just a PowerShell based way of enabling seems easier to manage for all

TMtest1.ps1.txt
asked Oct 24, 2014 by rfennell (1,940 points)

1 Answer

0 votes
Hi,
Thank you,We're looking into it.
I'll update here as soon as progress.

 

Bar David | Support Team

answered Oct 28, 2014 by Bar (3,540 points)
...