Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

NCrunch fails to build Pex generated tests
snica
#1 Posted : Tuesday, August 7, 2012 7:10:46 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/7/2012(UTC)
Posts: 1
Location: Graz

Thanks: 1 times
Hi!

I have installed NCrunch and try to use it for parameterized unit tests, generated with Microsoft Pex 2010.
Currently I gave installed Nunit 2.6, Nant 0.92, Microsoft Visual Studio 2010, PEx and Moles 2010.

The unit test project fails to build / the error is : "

ERROR (Compilation): Project4Test: Moles (0): configuration : Project4.moles was not found

ERROR (Compilation): Project4Test: C:\Program Files (x86)\Microsoft Moles\bin\Microsoft.Moles.targets (69): "C:\Program Files (x86)\Microsoft Moles\bin\moles.exe" @C:\Users\user\AppData\Local\NCrunch\5220\42\Project4Test\obj\Debug\Moles\moles.args- error exit with Code -1008.

error while validating the compiled stubs assembly (-1008 - 0xfffffc10)"

For the nunint test project, I have set to true "copy referenced assemblies to workspace", and to false "instrument output assembly"

The refreneced .dll file (Project4.moles) exists in that specific location, so this can not be the real problem. Is it because currently NCrunch does not offer support for the Moles framework?

Thank you in advance!

Cheers,
Simona
Remco
#2 Posted : Tuesday, August 7, 2012 8:45:45 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi, thanks for posting!

NCrunch doesn't support the Moles framework, as this framework requires the use of a specialised profiler to be loaded into the test environment in order to work correctly (which NCrunch currently cannot handle). Sorry.


Cheers,

Remco
1 user thanked Remco for this useful post.
snica on 8/7/2012(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.028 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download