Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I am having a problem with integration my NUnit test integration.

I have installed the test adapter for NUnit and also made sure that the extension is enabled, but no test are shown in the test explorer still.

I have already tried to add everything named NUnit from the package manager to my projects, but still no results in the test explorer.

My tests work fine with the outern NUnit program, but just won't integrate to Visual Studio 2012. Any ideas how to solve this? Maybe there is a more detailed documentation how to set up this than the one on the NUnit adapter's site?

share|improve this question
1  
My experience with the visual studio plugin was not very good even after I got it set up. It crashed frequently and wasn't very reliable. IF you have the outer NUnit program working, I would suggest continuing to use it. The only thing that was a little bit annoying was having to go in and attach to the nunit process manually each time you wanted to debug, but overall it was a much better experience than the VS plugin. –  Sam Woods Nov 5 '13 at 18:44
    
@SamWoods - Thanks for the tipp. NUnit works fine for me. The problem is that I would like to make the tests run atomatically on build. This way I could spot any broken test much earlier. –  Bujáki Attila Jan 12 at 15:52
1  
You can execute nunit-console.exe from command line, a quick Google search will give you instructions how to do so. –  Sam Woods Jan 14 at 16:50
add comment

1 Answer

Are you using Visual Studio Express? If so, perhaps the workaround described in this SO thread will work for you:

http://stackoverflow.com/questions/13348613/nunit-runners-via-nuget-on-visual-studio-2012-express-doesnt-work

Edit: The selected answer, which reveals the limitation of Visual Studio Express + Nunit

As I've found out Visual Studio Express does not support project extensions (forbidden and disabled by Microsoft)

A subsequent answer to the same question describes how to implement (instructions and code) a workaround via adding and configuring the nunit-console-runner in your test assembly.

share|improve this answer
1  
Typically, 'link only' answers are discouraged. Would you consider digesting the information on the link and breaking it down here? –  corsiKa Dec 4 '13 at 16:17
    
Thanks for the tipp. I am using an other version. –  Bujáki Attila Jan 12 at 15:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.