← Back to team overview

nunit-core team mailing list archive

[Bug 600554] Re: NUnit uses wrong priority-scheme for addins

 

** Changed in: nunitv2
     Assignee: (unassigned) => Charlie Poole (charlie.poole)

-- 
NUnit uses wrong priority-scheme for addins
https://bugs.launchpad.net/bugs/600554
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.

Status in NUnit V2 Test Framework: Triaged

Bug description:
Version: 2.5.5, GUI Runner.

When a custom SuiteBuilder on the SuiteBuilder-extension point is installed, and this SuiteBuilder is designed to build TestSuites from Types that (re)use the standard NUnit-attributes (TestFixtureAttribute, TestAttribute, etc), the built-in NUnitTestFixtureBuilder attempts to build TestFixtures from these types, instead of letting the custom SuiteBuilder take care of them. This effectively disabled the installed SuiteBuilder, unless you force not to (re)use any of the standard NUnit-attributes in your custom TestFixture-classes, which is not desirable.

The solution: NUnit should feed Types to any custom SuiteBuilder before falling back to the built-in builder (as was the case in previous versions).

NB: this may also be true for all other extension points (i.e. custom TestCaseBuilders).





References