Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7403439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:04:56+00:00 2026-05-29T05:04:56+00:00

I have a solution that has multiple projects including NUnit Test projects. So the

  • 0

I have a solution that has multiple projects including NUnit Test projects. So the solution looks like this (using generic names, these aren’t the actual names):

+ Solution
  + Project1
  + Project1.Test
  + Project2
  + Project2.Test
  + Project3
  + Project3.Test
  ...

I would like to run all the NUnit Tests through the NUnit GUI or console application when I click ‘Start Debugging’ from within Visual Studio.

Right now, what I have done is added a new Class library called TestRunner and set it to be the StartUp project (I’ve read I don’t really need to do this, I can just right click on the project and click ‘Debug > Start new instance’). Then inside the project properties on the Debug page, I set the ‘Start Action’ to ‘Start external program’ and select the nunit-console.exe (Looks like nunit.exe GUI doesnt support multiple assemblies as input parameters). Then in the ‘Command line arguments’ I enter the path to each of the projects. Like this:

Setup

This seems to work OK, but I’m wondering if there is a better way to do this (maybe I don’t need an extra project, or there might be an easier way to run multiple NUnit Test projects from within Visual Studio).

Any suggestions on improving this would be appreciated.
Running NUnit 2.5.9 and Visual Studio 2008.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T05:04:56+00:00Added an answer on May 29, 2026 at 5:04 am

    There are various test runner extensions for Visual Studio itself – personally I use ReSharper (commercial) and also NCrunch (used to be free, now commercial), although the latter is more of a continuous test tool than a “run explicitly” tool. If you’re using Visual Studio non-Express, you should really look at running tests integrated into the IDE – it’s much, much nicer than switching between apps.

    However, if you want to run the NUnit GUI, just set up an NUnit project configuration which includes all your test projects – you’ll only need to do that once, then you can use it however you run the tests.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a Visual Studio solution that comprises multiple production and test projects. The
I have a C# solution in VS2010 that contains three projects. This solution has
I have a solution that contains a good deal of projects, I would like
I have multiple projects with directory structure like this: /application/ /images/ /js/ /css/ /system/
I have a solution with multiple projects that all output dlls (except for the
We have a solution with multiple web projects, and there are some pages that
I have a VC++ solution with multiple projects and multiple namespaces. Each project has
I have inherited a reasonable sized ASP.net solution that has no automated tests. The
I have a solution that is deployed using ClickOnce. It consists of an application,
I have a solution that contains two projects. One project is an ASP.NET Web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.