0

I'm trying to get our team to use Moles and Stubs primarily to Mole out static classes. One thing I need to find out is do I have to install moles and stubs using the installation program on my build servers? Or can I just deploy the dependencies with my code so that the moled out tests run on my build server?

Thanks!

dalcantara
  • 1,613
  • 2
  • 21
  • 35

1 Answers1

2

We have has problems with running Pex and Moles on the build server, until we installed the package on the build machine itself. It actually requires a dedicated target to be able to deal with the specific Moles project types. http://research.microsoft.com/en-us/projects/pex/releasenotes.aspx.

So, you will need to install Pex and Moles on your build server to run without problems.

kroonwijk
  • 8,340
  • 3
  • 31
  • 52
  • booh that really sucks! Basically we have an XCopy deploy policy here so installation packages are a no, no. – dalcantara Sep 13 '11 at 18:51
  • This post confirms my own experience: http://social.msdn.microsoft.com/Forums/is/pex/thread/772b0aa8-47e2-4d16-be6a-aaf2d83d9f0f – kroonwijk Sep 13 '11 at 18:58
  • Yeah I'm not booing you I'm booing the fact that I have to run some installation process to be able to run Moles on my build server. Definitely appreciate your feedback. – dalcantara Sep 13 '11 at 19:01