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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:59:19+00:00 2026-06-04T12:59:19+00:00

I’ve found a useful post recently in here: NUnit extension However my question is

  • 0

I’ve found a useful post recently in here: NUnit extension

However my question is still not answered.

First of all, what is a ‘test assembly‘ anyway?

Second, could someone give me a more detailed explanation of ‘NUnit searches each test assembly for addins to be loaded‘?

For example, I have two projects in my VS2010 solution, say, project A and project B. A is a test project(contains ‘[Test]’ inside), B is an NUnit addin project(contains addin installer, EventListener interface implementations, etc. inside), and, A references B. Does this work? Will the addin be called?

If not, I assume it means that I must have the various .cs files(which implements the NUnit addin) directly included in project A, rather than have them placed into a separate project and reference it in test project. Is that what you mean?

If so, another problem raised, that, when I have project C, D, E… which are also test projects, I have to include those various .cs files(which implements the NUnit addin) in each test project?

  • 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-06-04T12:59:21+00:00Added an answer on June 4, 2026 at 12:59 pm

    This is the answer Charlie provided on google groups. Many thanks to Charlie!
    https://groups.google.com/forum/?fromgroups#!topic/nunit-discuss/yTKRKf2APLI

    Re: [nunit-discuss] Re: NUnit extension

    On Mon, May 21, 2012 at 8:13 AM, Athrun Sun wrote:

    Hi Charlie,

    Could you give me a more detailed explanation of ‘NUnit searches each test assembly for addins to be loaded’?

    For example, I have two projects in my VS2010 solution, say, project A and project B. A is a test project(contains ‘[Test]’ inside), B is an NUnit addin project(contains addin installer, EventListener interface implementations, etc. inside), and, A references B. Does this work? Will the addin be called?

    In that situation, no. B is not a test assembly.

    If not, I assume you mean that I must have the various .cs files(which implements the NUnit addin) directly included in project A, rather than have them placed into a separate project and reference it in test project. Is that what you mean?

    Exactly

    If so, another problem raised, that, when I have project C, D, E… which are also test projects, I have to include those various .cs files(which implements the NUnit addin) in each test project?

    This feature is provided to allow testing of extensions under
    development, so it’s not really a problem with needing to use the
    extension in multiple assemblies. In fact, if you were to duplicate
    the code in two assemblies, I imagine NUnit would try to register two
    different addins, with potentially surprising results. 🙂

    For production use, you should install the addin in the addins folder
    in the normal way. In addition, it’s best not to reference the addin
    assembly from your code. Although this may not always cause a problem,
    it sometimes does lead to the addin being loaded twice.

    Charlie
    – show quoted text –

    To view this discussion on the web visit https://groups.google.com/d/msg/nunit-discuss/-/a730uESbNJUJ.
    – show quoted text –

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I have a text area in my form which accepts all possible characters from
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I need a function that will clean a strings' special characters. I do NOT
I'm trying to create an if statement in PHP that prevents a single post
I'm making a simple page using Google Maps API 3. My first. One marker
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on

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.