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!

Jenkins and Typemock

+1 vote
Hello all.

 

Is there any way to run CI Build in Jenkins running typemock tests?

 

Thanks
asked Jan 22, 2015 by danielVeinti0809 (230 points)

1 Answer

0 votes

Yes, You can integrate Typemock Isolator with Jenkins CI.

Using MSBuild tasks:

1.       In Jenkins CI, under Build, Add Build Step.

2.       Select Choose Build a Visual Studio project or solution using MSBuild.

3.       In the MSBuild Build File field,  specify the MSBuild build file that contains Typemock Isolator tasks.

4.       Click Save.

Using Windows batch command:

1.       In Jenkins CI, under Build, Add Build Step.

2.       Select Execute windows Batch command.

3.       In the Command field, add the following command to run TMOCKRUNNER:

<location>TMockRunner <location>mstest.exe  /testcontainer:"<location>test.dll"

4.       Click Save.

 

Bar David | Support Team

answered Jan 25, 2015 by Bar (3,540 points)
...