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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:40:57+00:00 2026-05-25T23:40:57+00:00

Background I have recently tried to develop a suite of tests for regression testing

  • 0

Background

I have recently tried to develop a suite of tests for regression testing of a particular application. I have been using NUnit and have had no problems.

I ran into the issue of sending parameters to NUnit tests, for which no satisfactory answer seems to exist.

Question

Say I implement a simple unit tester that loads a class, runs the Startup, Test, and Teardown methods in order, catching exceptions and then unloads the assembly. What are the downsides of doing this versus using NUnit?

In this scenario, I can easily pass parameters to my test cases, or do any other crazy thing I might come up with. But my concern is what I lose from abandoning NUnit.

  • 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-25T23:40:58+00:00Added an answer on May 25, 2026 at 11:40 pm

    What do you lose? Your time.

    If you’re working for a customer or business, they are (presumably) paying you to solve business problems, not to write infrastructure code. Some infrastructure may be necessary in order to address the business needs. In this case it’s clearly not. You’re reinventing the wheel.

    Don’t fall into the Not Invented Here trap. Use NUnit. It supports parameterized tests. If NUnit doesn’t meet your needs, investigate MbUnit or xUnit.net. Or look at SpecFlow, etc. for BDD-style. Or FitNesse for acceptance testing. And this is only a partial list!

    If you’re writing a test framework on your own for learning purposes, great! If not, you are wasting your time and/or your company’s money.

    Addressing the technical aspects

    JUnit was originally created during a long airplane trip. Back then there weren’t a lot of alternatives. Writing a testing framework is not a huge project. Writing a robust one that is full-featured and easy to use is more difficult. Writing test runners, IDE integration, CI integration, code coverage integration, etc. is significantly more difficult. And it’s been done. Unless you’re Ayende Rahien, don’t do it!

    In addition to the integration, you also lose any features of NUnit you don’t implement (and there are a lot). I don’t use all of these, but I do rely on many of them.

    (Moved from my comments)

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

Sidebar

Related Questions

Background: I have a Java application that many programming clients interface with. Recently, a
I have been using WSP builder up until now with VS 2008. I recently
I have recently been thrown into learning ClearCase (I come from a background with
I had written this code out using Adobe CS3 and have recently upgraded to
I recently got into Java. I have a background in dynamic languages and I'm
I have made Catifier.com recently, and once the user sets their own background image,
Background I have been asked by a client to create a picture of the
Background: we have an application that generates reports from HTML (that may or may
Background I have an application written in native C++ over the course of several
Background: We have a project with many modules. We're using EntityFramework 4.2 with FluentAPI

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.