Visual Nunit 2010

Free

Visual Nunit is an integration package that enables running of Nunit tests in Visual Studio.

(56) Review
Visual Studio
2010
Download (100,396)
2/15/2011
1.2.4
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (56)
Q and A (31)
Sign in to write a review
Sort by:

by GrahamPickard | April 14 2014

A nice integrated solution and it's free. :-)

by OnkeySapre | Fri 8:23 AM

The exact thing I am looking for

by terasato | May 31 2013

Inconclusive Exception is not handled.
I would like to treat 'Inconclusive' as passed.

by cerx | May 15 2013

Like others have stated, it locks DLLs, preventing future compiles.

by tully2003 | May 14 2013

by Danny Reagan | March 11 2013

This is a reasonable alternative to paid-for programs like NCrunch or Resharper. But if you have any money at all, or your company can afford it, get a professional program. Visual NUnit is buggy, unreliable, and will require you to keep the task manager open to kill its dozens of DLL locking processes. That said, it is free, and it does allow you to run tests in the debugger. But that's like saying you'll make due with a box with ice in it because you don't want to pay for a refrigerator.

Two stars, because it's better than nothing.

by John-Carpenter | December 06 2012

Sorry, I really couldn't get on with this. The UI is awkward - it displays DLLs you can test (not nunit projects) and then I think you need to manually type in a namespace to run against. But I had a real job getting it to run anything at all - I managed once and it was really, really slow.

I then uninstalled the extension and was wondering why I couldn't build my solution - turns out I had about 30 visualnunit.exe processes running in task manager.

Nice idea, and appreciate the effort but it really didn't work at all well for me.

by Mickey Puri | May 17 2012

Seemed good, but it locks the DLLs and prevents rebuilds. Have uninstalled it therefore.

by Sofwarer | May 01 2012

by Fader_Guy | April 14 2012

It is a good tool tool for debugging a single test. However, if you have a non trivial TestFixture Setup/TearDown, it is a very slow test runner. This is because the TestFixtures are setup and torn down for each test.

by Garry-Passarella | April 13 2012

Works great except for one thing. If I hit Alt+F and then S to save a file I get a support popup window. I can't be the only person who does this to save a file. Can you please do something about this shortcut, surely a support shortcut is not really required.

Otherwise a great plugin.

by Florian Reischl | March 20 2012

by skolima | March 11 2012

The extension keeps the test dll locked and prevents Visual Studio from rebuilding the project.

by Andrew L Arnott | February 17 2012

Holds locks on the DLLs, making builds fail most of the time whenever the tool window is active (whether or not tests have even run).

by Ken R Courville | February 14 2012

Works great! Thanks!

by XAML guy | February 11 2012

Perfect companion to NUnit, well done that chap!

by Dzmuh | January 12 2012

Thanks!

by aR De | December 19 2011

Tried to install an visual studio 2010 express; Install file is not recognised.

I got nunit integration working in Mono Developer real easy.

by Arvind_Rangan | December 15 2011

Excellent.....
When I could not afford resharper or TD, this came handy. and now, i want to use this only.

by Steef-Jan Wiggers | November 03 2011

Excellent tool. Great UX for unit testing.

1 - 20 of 56 Items   
Sign in to start a discussion


  • Open source
    1 Posts | Last post August 21, 2013
    • Any intention to opensource the plug in?
      
      Also, can you give the option to automatically build the solution before running tests? 
  • VS2010 EXPRESS can't Install Visual Nunit 2010
    1 Posts | Last post August 01, 2013
    • I am a primary,i want to install Visual Nunit 2010 to test my code ,but when i double click the Visual Nunit 2010 to install,the message box show :the VS2010 EXPRESS can't install the Visual Nunit 2010.is anyone can tell me why ?thankyou.
  • visual nunit tool will not pick test dlls present in other drive
    1 Posts | Last post March 18, 2013
    • I am using Visual studio 2010 and recently I have installed Visual Nunit tool to run Nunit tests via UI.
      
      My source code exists in G: drive. My output is generated in V:\bin drive
      
      When I build solution, visual nunit's UI will not pick the test case.
      namespace, test class fields will be empty.
      
      If I change the output folder of the test project to anywhere in G: drive, it picks and I can run the test cases.
      
      Can't we set path to pick dlls from other drive?
  • Problem running unit tests with mixed mode assembly
    1 Posts | Last post December 06, 2012
    • Hi - I can run some unit tests using NUnit's stand-alone GUI with no problems. However, when I run the same tests using Visual NUnit with Visual Studio 2010, I get the following error:
      
      Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
      
      I think I have tracked this down to needing to edit a config file to add an element along these lines:
      
      <startup useLegacyV2RuntimeActivationPolicy="true">
          <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0.3"/>
      </startup>
      
      However, for Visual NUnit, I'm not sure which config file should be edited. I don't think it should be the config file of the assembly I am testing. Should it be nunit-agent.exe.config or nunit.exe.config, or some other config file?
      
  • Installed VisualNunit, tried to use under VS2010, doesn't show tests.
    2 Posts | Last post October 31, 2012
    • ACG
      I installed the utility as per instructions. Opened VisualNUnit window in VS2010 Pro, but I just get an empty window. I can select the project, but nothing else is available. 
      
      Typed in the Namespace and Fixture but still nothing.
      
      Would like to use this, but can't.
      
      Please advise.
    • I had the same issue. I built the solution and selected my startup project as the Nunit test project. I clicked the "Run" button without populating any of the fields, and the test cases showed up automatically. I had to hit "Run" again to start them off.
  • Running tests without debug
    1 Posts | Last post October 23, 2012
    • I think this is a silly question, sorry for that, but I haven't be able to find how to do it.
      
      How can I run tests without debugging ?
  • Unable to delete the dll
    3 Posts | Last post July 01, 2012
    • I am always getting unable to delete the my project.dll while building the project as the file is used by visual nunit runner. Is there a way to fix this? I am using VS 2010 professional.
    • I have workaround - What I did was add a pre-build action to my project that kills off Visual NUnit.  This requires powershell.
      
      In your project properties, add the following command to the pre-build event command line:
      
      powershell "Get-Process VisualNunitRunner* -ErrorAction SilentlyContinue | kill"
      
      After you do a build, the VisualNunit process seems to get relaunched, so everything still works.
    • I did notice a side effect with my workaround above - since the process gets killed off, it doesn't remember which tests have failed.  This means that you cannot rerun just the failed tests - you always have to rerun all tests.
  • Go to source feature?
    1 Posts | Last post October 22, 2011
    • Is it possible to add a "go to source" feature where I can click somewhere (a button in the datagrid, double click, whatever) and have VS navigate directly to the failing line?  That'd be really slick.
  • hotkeys
    3 Posts | Last post October 11, 2011
    • Is there a hotkey for running the tests?  It seems like I can bind a hotkey to switch to the window, but then I have to use the mouse to actually run the tests.  It would be really handy to have a key command that would automatically switch to it and start running all the tests.  Also as others had mentioned, an option to automatically run tests upon building, or a dedicated command to both build and run tests would be great.
      
      BTW shouldn't the progress bar turn red if there are any failing tests?  That's how the NUnit runner (and a lot of others) work, and could help provide more feedback at a glance, and fit in with the whole red/green TDD thing.
      
      Thanks for a great plugin!
    • I concur. Hotkeys would be a very nice feature.
    • Yeah, I need hotkeys too :)
  • Does this work with VS 2010 Pro edition?
    1 Posts | Last post September 01, 2011
    • We are deciding between VS 2010 pro and premium editions. Does Visual Nunit work with the Pro edition?
1 - 10 of 31 Items