← Back to team overview

nunit-core team mailing list archive

[Bug 597265] Re: 2.5.5 x64 net-4.0 crash

 

Charlie,
"VS2010 automating Nunit.exe" - Nunit Library project -> Debug Tab -> Start External Application -> C:\Program Files (x86)\NUnit 2.5.5\bin\net-2.0\nunit.exe.  I then add Command Line Arguments -> Nunit_LibraryName.dll 

Hope that makes sense.
I've also got a cross post with Microsoft forums on this issue. http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataproviders/thread/37b04b99-9b54-462d-9ec7-29ba64f1e735/?prof=required 
Thanks for your help.

-- 
2.5.5 x64 net-4.0 crash
https://bugs.launchpad.net/bugs/597265
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.

Status in NUnit V2 Test Framework: New

Bug description:
Running x64 based unit tests on x64 Windows Server 2008 R2. Get the following crash from VS2010 automating Nunit.exe.
Testing Office 2010 Excel reading with x64 drivers. Running a single test works ok. Running a set of Excel tests causes the application crash. I suspect MS bug in the x64 data drivers, but this is the offending nunit test.


'   Sheet Name and Row/Column Reference
        Console.WriteLine(String.Format(cNunitMessage, "Sheet Name and Row/Column Reference"))
        objDS = objExcel.GetDataSet(System.IO.Path.Combine(GetCurrentPath, "TestData\WithDataInSheet1.xlsx"), "Sheet1$B2:D10")
        If objDS.Tables.Count = 0 Then
            Assert.Fail("No data returned")
        End If

If I run the nunit test by itself it works as expected. If I run all the tests in the nunit class it fails and crashes Nunit. The crash sends a lot of information to Microsoft.





References