Unit Test Runner not running tests in VS2010beta2

Hi,

I haven't seen any mention of this, so I don't know if this is a current limitation or a problem with my machine. (I hope it's a fixable problem with my machine...)

When I try to run unit tests, the Unit Test Sessions window opens, but none of the tests run. The large progress bar along the top of the page goes from empty to completely green in one step. I can't run one test, run many tests, or debug a test.

Is this just me, or is this something that has yet to be done for the VS2010beta2 version? (I'm not nagging, I'm just worried there's something wrong with my installation.)

Many thanks,

    Geoff

6 comments

I'm seeing similar behavior.

There are no visible errors, however when trying to debug a test, I see this in the Debug Output log (not sure if it helps):

'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Program Files (x86)\JetBrains\ReSharper\v5.0\Bin\JetBrains.ReSharper.TaskRunner.exe', Symbols loaded.
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Program Files (x86)\JetBrains\ReSharper\v5.0\Bin\JetBrains.ReSharper.TaskRunnerFramework.dll', Symbols loaded.
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Program Files (x86)\JetBrains\ReSharper\v5.0\Bin\JetBrains.dotTrace.Api.dll'
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Windows\assembly\GAC_MSIL\System.Runtime.Remoting\2.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Program Files (x86)\JetBrains\ReSharper\v5.0\Bin\JetBrains.ReSharper.UnitTestProvider.MSTest.dll', Symbols loaded.
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Program Files (x86)\JetBrains\ReSharper\v5.0\Bin\JetBrains.ReSharper.UnitTestProvider.nUnit.dll', Symbols loaded.
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Program Files (x86)\JetBrains\ReSharper\v5.0\Bin\nunit.core.interfaces.dll'
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Program Files (x86)\JetBrains\ReSharper\v5.0\Bin\nunit.core.dll'
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Program Files (x86)\JetBrains\ReSharper\v5.0\Bin\JetBrains.Platform.ReSharper.Util.dll', Symbols loaded.
'JetBrains.ReSharper.TaskRunner.exe' (Managed (v2.0.50727)): Loaded 'C:\Program Files (x86)\JetBrains\ReSharper\v5.0\Bin\nunit.util.dll'
A first chance exception of type 'System.BadImageFormatException' occurred in mscorlib.dll
The thread '<No Name>' (0xef0) has exited with code 0 (0x0).
The program '[3580] JetBrains.ReSharper.TaskRunner.exe: Managed (v2.0.50727)' has exited with code 0 (0x0).

0

Hi

Thanks for that. I'm glad it's not just me then! (Although if it was just me I could maybe fix it somehow.) I'll wait patiently for the ReSharper folks to get around to implementing/fixing it.

It's quite important to me, if that feedback helps - running NUnit unit tests for VS2010 code has been quite problematic for me without ReSharper. The default NUnit runner didn't (doesn't?) support it, and even rebuilding it from source didn't work for me.

Many thanks,

    Geoff

0

Hello,

Thanks for reporting the problem.

I've filed a request, you can track its progress at http://www.jetbrains.net/jira/browse/RSRP-130003.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0

It's working a treat now and I'm very happy!

Thanks guys,

    Geoff

0

I have teh same problem. I tried anything imaginary but this is what happens when I want to debug a test.



'JetBrains.ReSharper.TaskRunner.CLR4.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.CLR4.exe' (Managed (v4.0.30319)): Loaded 'C:\Program Files (x86)\JetBrains\ReSharper\v5.1\Bin\JetBrains.ReSharper.TaskRunner.CLR4.exe', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.CLR4.exe' (Managed (v4.0.30319)): Loaded 'C:\Program Files (x86)\JetBrains\ReSharper\v5.1\Bin\JetBrains.ReSharper.TaskRunnerFramework.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.CLR4.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.CLR4.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.CLR4.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.CLR4.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Remoting\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.CLR4.exe' (Managed (v4.0.30319)): Loaded 'C:\Program Files (x86)\JetBrains\ReSharper\v5.1\Bin\JetBrains.ReSharper.UnitTestRunner.MSTest.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.CLR4.exe' (Managed (v4.0.30319)): Loaded 'C:\Program Files (x86)\JetBrains\ReSharper\v5.1\Bin\JetBrains.ReSharper.UnitTestRunner.nUnit.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.CLR4.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'JetBrains.ReSharper.TaskRunner.CLR4.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[7628] JetBrains.ReSharper.TaskRunner.CLR4.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).

0

Please sign in to leave a comment.