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 6111357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:37:17+00:00 2026-05-23T14:37:17+00:00

I am trying to setup a Visual Studio solution that facilitates: BDD Using SpecFlow

  • 0

I am trying to setup a Visual Studio solution that facilitates:

  • BDD

  • Using SpecFlow http://www.specflow.org/

  • As described on TekPub here: http://tekpub.com/view/concepts/5

I would like:

  • To keep all references and dependencies
    under the root of my solution’s
    directory structure

  • The ability to use the,”Test With
    NUnit”,command when I right-click
    on my project that TestDriven.NET
    provides.

I do NOT want:

  • To use the version of NUnit that
    TestDriven.NET installs for itself

I do want:

  • The, “Test With NUnit”, command to use the version of
    NUnit that NuGet installs under my
    solution’s sub directories for me

More detail and what I have already tried:

When you install TestDriven.NET it places its own version of NUnit in a path like:

  • \Program Files (x86)\TestDriven.NET 3\NUnit\2.5

When you use NuGet to install the latest version of NUnit it places NUnit in a path like:

  • Solution_root\packages\NUnit.2.5.10.11092

NuGet automatically adds a reference to \packages\NUnit.2.5.10.11092\lib\nunit.framework.dll for you. That reference is pretty much worthless if you happen to want to easily execute NUnit tests with the TD.Net menu because TD.Net doesn’t actually use the NUnit dll that NuGet just setup for you.

  • How do I force TestDriven.Net’s menu to use the referenced NUnit dll in my solution’s path instead of the NUnit dll that it installs under \Program Files (x86)\TestDriven.NET 3\NUnit\?

OR

  • If that is not possible, is there an easy shortcut key/menu command to execute the SpecFlow tests with the NUnit that IS under my solution folder without using TestDriven.Net?

Why am I trying to do this?

I installed NUnit with NuGet so that I could keep the testing framework libs inside of my solution and under source control. I need the ability to reference things like nunit.framework.dll under my solution’s path (Solution_root\packages\NUnit.2.5.10.11092) and NOT reference it from (\Program Files (x86)\TestDriven.NET 3\NUnit\2.5).

I already tried the suggestions here:

  • http://www.paraesthesia.com/archive/2010/05/03/how-to-run-a-different-nunit-version-with-testdriven.net.aspx

  • and it still seems to be launching TestDriven.Net’s version of NUnit instead of the one NuGet installs for me.

I also do not want to manually copy over and replace the NUnit files installed by TD.Net as that doesn’t allow for solution-specific dependency files and isolation under source control.

  • 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-23T14:37:17+00:00Added an answer on May 23, 2026 at 2:37 pm

    Not sure this is exactly what you’re after, but here goes:

    Under Visual Studio (i am using 2010):

    1. Go to Tools->Options->Test Driven->Test Runners
    2. This section lists all preconfigured test runners that ship with TD.NET.
    3. Run Regedit.
    4. Go to: *HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MutantDesign\TestDriven.NET\TestRunners*
      This will be different under 32bit OS.
    5. Add a new key NUnit 2.5.X (simply copy another key and change whatever settings you need).

    6. Restart Visual Studio.

    7. Under the menu from step #1, you’ll find your new test runner.
    8. Click it and Save.

    From now on, your tests will run with the test runner you configured.

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

Sidebar

Related Questions

I'm trying to create a Setup using Visual Studio Setup Project. A mistake, but
I'm trying to re-install SQL Server Express from http://www.microsoft.com/express/Database/ . Visual Studio Web was
I'm trying to maintain a Setup Project in Visual Studio 2003 (yes, it's a
I am using the Visual Studio 2008 Installer. I am trying to set a
I'm trying to build gtest on Visual Studio 2010. After converting the solution file,
I am trying to figure out how to setup android development with Visual Studio.
I'm using vb.net in Visual Studio 2008. I've setup a public sub inside of
I have an asp.net application that i am modifying. I setup visual studio 2010
I'm trying setup a subset of boost and get it properly compiled using bjam,
After trying to setup my site for Google Webmaster Tools I found that my

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.