unit-testingmolespexpex-and-moles

Cant find Moles after installation


I've installed Pex & moles and was trying to follow the tutorial

but couldnt add a new items --> moles to the test project for some reason

cant find the file type there

i've tried to reinstall it few times unsuccessfully...

what can i do ?

thanks

Dan


Solution

  • Your tutorial says to add a new item? I thought that I read that on a old version of Moles.

    Never mind. Actually, go to the References in your test project. Right-clik on the assembly you want to mole, you will have "Add Moles Assembly". For mscorlib, right-click directly on the References node and you will have "Add Moles Assembly for mscorlib".

    Hope this help.