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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T18:13:15+00:00 2026-05-14T18:13:15+00:00

I come from a Java/Eclipse background and I fear that I am spoiled by

  • 0

I come from a Java/Eclipse background and I fear that I am spoiled by how easy it is to get JUnit and JMock running in Eclipse, and have that GUI with the bar and pass/fail information pop up. It just works with no hassle.

I see a lot of great options for testing in C# with Visual Studio. NUnit looks really nice because it contains unit and mock testing all in one. The trouble is, I can’t figure out how to get the IDE display my results. The NUnit documentation seems to show that it doesn’t automatically show results through the VS IDE. I found http://testdriven.net/, which seems to trumpet that is makes VS display these stats and work with multiple frameworks, but it isn’t open source.

Is there anyway to get unit and mock testing working with the VS IDE like it does in Java with Eclipse?

  • 1 1 Answer
  • 2 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-14T18:13:16+00:00Added an answer on May 14, 2026 at 6:13 pm

    On installing NUnit you get an NUnit.exe – use this to open and run your tests. It has an UI and shows pass/fails and shows output.

    You can add a build action in Visual Studio that on a specific testing configuration will build, then immediately invoke NUnit on that dll.

    EDIT: (more details)

    In test project:

    1. Project Properties -> Debug (set a build configuration – I use “NUnitDebug”)
    2. Start Action -> “Start external program”: C:\Program Files\NUnit 2.5.3\bin\net-2.0\nunit.exe (use your own path)
    3. Start Options -> Command line arguments: MyTestProject.dll (replace with the name of your DLL)

    EDIT2: As brendan said, Moq is a good mock framework that can be used.

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

Sidebar

Related Questions

I come from Java Background and so used to Debugging using Eclipse but have
I come from a Java background and have been using C# for the last
I've been iPhone programming for 6 months and come from a PC/Java/Eclipse background and
I come from a Java/C++ OOP background and am trying to get into JavaScript
I come from a strong Java background and in recent years have been also
After finding that FutureTask running in a Executors.newCachedThreadPool() on Java 1.6 (and from Eclipse)
I come from a Java background and am getting more into .NET, what are
I come from a Java SE background, and I did some servlets tutorials and
I've come from a java background, so i'm still getting to grips with some
I'm new to PHP but come from a Java background and I'm trying to

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.