Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to run F# nunit tests with Resharper after upgrade to VS2012

I'm trying to upgrade our solution from V2012 to V2012 targeting 4.5. We have some F# code with unit tests, which is written using NUnit. We are using Resharper to execute our tests in Visual Studio.

After upgrading projects to VS2012 our F# unit tests does not show in Resharpers Unit Tests windows.

Any idea why?

like image 957
Michael Avatar asked Nov 02 '12 11:11

Michael


People also ask

Should I use chkdsk F or R?

If you use chkdsk /f* on a very large disk or a disk with a very large number of files (for example, millions of files), chkdsk /f might take a long time to complete. Use the /r parameter to find physical disk errors in the file system and attempt to recover data from any affected disk sectors.

How do I run chkdsk f?

Open the Command Prompt by typing cmd into the desktop search field and selecting Run as administrator. Type the command chkdsk C: /f. If the drive you're trying to repair isn't the C drive, replace “C” with the letter of the relevant drive.

Why can I not run chkdsk?

Step 1: Restart your PC and press "Esc" or "Enter" to prevent CHKDSK from running (assuming that it attempts to run). Step 2: Run the Disk Cleanup Utility to get out trash documents. Step 3: Type sfc/scannow command after opening an elevated CMD, and press "Enter" to run the System File Checker.

Does chkdsk fix corrupt files?

Will CHKDSK recover data? It is not a data recovery tool and will not recover lost or damaged files. CHKDSK will simply ensure the information currently on the disk is in a consistent and safe state.


1 Answers

The What's New in ReSharper 7 page says that ReSharper 7 introduced NUnit 2.6 as the default version for unit testing.

According to the NUnit Release Notes, support for VS2012 / .NET 4.5 was introduced in NUnit 2.6.2.

If ReSharper 7 is using NUnit 2.6 (Final Release), that's probably why it's not picking up on your unit tests after upgrading your projects. I think your best bet is to contact ReSharper Support or the ReSharper Developer Community and ask if there's a way to get things working; if not, they should be able to put NUnit 2.6.2 into the next release (ReSharper 7.1).

like image 186
Jack P. Avatar answered Sep 28 '22 08:09

Jack P.