Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run the tests? #45

Closed
NobbZ opened this issue Dec 20, 2015 · 6 comments
Closed

How to run the tests? #45

NobbZ opened this issue Dec 20, 2015 · 6 comments

Comments

@NobbZ
Copy link
Member

NobbZ commented Dec 20, 2015

After I encountered #44, I simply removed all the Ignore things and tried to run. But then I do get an errormessage that I need to have an executable project. So how can I set up MS VS to actually run the tests instead of trying to run the projects executable?

@NobbZ
Copy link
Member Author

NobbZ commented Dec 20, 2015

OK, after downgrading to NUnit 2.6.4 I was able to find that GUI-Runner mentioned in the help.

Is there a way tu run tests from inside Visual Studio?

@kytrinyx
Copy link
Member

/cc @jwood803 you know visual studio, right?

@jwood803
Copy link
Contributor

@NobbZ What version of VS are you using? I think they may have included it to automatically pick up NUnit tests, but I'll have to double check it.

@bressain
Copy link
Contributor

You might need to install an adapter for VS2013 http://www.nunit.org/index.php?p=vsTestAdapter&r=2.6.2

@NobbZ
Copy link
Member Author

NobbZ commented Dec 22, 2015

OK, installing that adapter works. Perhaps mention this in the docs?

I do realise that running the tests from inside VS is somewhat slower than using the NUnit GUI, but switching away from VS over to that GUI eats up all of the benefits I had by using it. Also using VS as the test runner gives me the very strong benefit of compiling before test, while I always forgot it when using that external GUI (which doesn't seem to be available in NUnit 3.0 anyway).

@robkeim
Copy link
Contributor

robkeim commented Nov 26, 2016

@NobbZ I updated the test readme with this information, so I'm going to go ahead and close this. Let me know if you feel something is missing/incomplete.

@robkeim robkeim closed this as completed Nov 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants