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

Notification

Icon
Error

NUnit tests don't work when references Typemock assemblies
ylee
#1 Posted : Thursday, March 8, 2012 2:10:56 PM(UTC)
Rank: Member

Groups: Registered
Joined: 2/15/2012(UTC)
Posts: 20

Thanks: 6 times
Was thanked: 3 time(s) in 3 post(s)
NCrunch 1.38.0.18b
Typemock Isolator 6.2
Visual Studio 11 beta
Windows 7 64bit

Hi,

If a project has references to Typemock Isolator assemblies (TypeMock.dll, Typemock.ArrangeActAssert.dll), all NUnit tests in the solution don't work (MSTest tests work).

Removing references to Typemock assemblies workarounds the issue.
Remco
#2 Posted : Thursday, March 8, 2012 6:30:08 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,982

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi,

Thanks for reporting this. Do you see any errors appearing in your processing queue? Or do the tests simply not run at all?
ylee
#3 Posted : Thursday, March 8, 2012 6:46:53 PM(UTC)
Rank: Member

Groups: Registered
Joined: 2/15/2012(UTC)
Posts: 20

Thanks: 6 times
Was thanked: 3 time(s) in 3 post(s)
Remco;1362 wrote:
Hi,

Thanks for reporting this. Do you see any errors appearing in your processing queue? Or do the tests simply not run at all?

I get the following errors in the processing queue:

[02:43:55.0921-TestExecutionTask-36] ERROR (Internal): System.InvalidProgramException: Common Language Runtime detected an invalid program.
at System.Uri.ParseScheme(String uriString, Flags& flags, UriParser& syntax)
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at NUnit.Core.AssemblyHelper.GetAssemblyPath(Assembly assembly)
at NUnit.Core.AssemblyHelper.GetDirectoryName(Assembly assembly)
at NUnit.Core.TestFixture.Run(EventListener listener, ITestFilter filter)
at NUnit.Core.TestSuite.RunAllTests(TestResult suiteResult, EventListener listener, ITestFilter filter)
at NUnit.Core.TestSuite.RunSuite(EventListener listener, ITestFilter filter)
at NUnit.Core.TestSuite.RunSuiteInContext(EventListener listener, ITestFilter filter)
at NUnit.Core.TestSuite.Run(EventListener listener, ITestFilter filter)
at NUnit.Core.TestSuite.RunAllTests(TestResult suiteResult, EventListener listener, ITestFilter filter)
at NUnit.Core.TestSuite.RunSuite(EventListener listener, ITestFilter filter)
at NUnit.Core.TestSuite.RunSuiteInContext(EventListener listener, ITestFilter filter)
at NUnit.Core.TestSuite.Run(EventListener listener, ITestFilter filter)
at NUnit.Core.TestSuite.RunAllTests(TestResult suiteResult, EventListener listener, ITestFilter filter)
at NUnit.Core.TestSuite.RunSuite(EventListener listener, ITestFilter filter)
at NUnit.Core.TestSuite.RunSuiteInContext(EventListener listener, ITestFilter filter)
at NUnit.Core.TestSuite.Run(EventListener listener, ITestFilter filter)
at NUnit.Core.SimpleTestRunner.Run(EventListener listener, ITestFilter filter)
at nCrunch.TestExecution.Frameworks.NUnit.NUnitTestFramework.#=qSbXq33ScOgqfG8VOleUe1_oKRBF88d2$X3qpptswjvY=.#=qMTrkNfnM2Xlkh1W2iNTWig==()
at #=q_6tIg4F1LleUBIcdcxJ$quk03YlNBlK3bawqhPftzWYtaMJr24zaFDCoQYP7CoGi.#=q8BDwFO5mGt1YhJxLhMLS8eFs51eHjDi8BeQ5mjmyt5k=(Action #=qJ6Z9Lqdr15kklwqS7Kg7cpB4rNdFhbBWFf8DR4U3O4c=)
at nCrunch.TestExecution.Frameworks.NUnit.NUnitTestFramework.RunTests(TestOutput output, IList`1 testsToRun, MasterExecutionMapSet masterMapSet, Boolean considerInconclusiveTestsAsPassing)
at nCrunch.TestExecution.TestRunnerThread.#=qvde8$lSYQwxtIuj2fTXJ4g==(IMasterExecutionMap[] #=quVYcSTm6tgMiHXiVuRZjhihoTM8GG0008Yw3DZfIACM=, IList`1 #=q75WLkZ2zg3agcZ9JKZozzg==, Boolean #=qWgmJAgt6c_ZKfznjnleTPghK_0AOHgYEC44j5Iz$t6WZN$_c0hL5hU0HXpAC7kPS)
Remco
#4 Posted : Thursday, March 8, 2012 6:54:30 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,982

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Thanks. It looks like this is related to the other issue you've reported. I'll try to help you in the other thread :)
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.033 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download