← Back to team overview

nunit-core team mailing list archive

[Bug 1170927] Re: RequiresSTA attribute is not inheritable

 

On Launchpad, a "pull request" is called a "merge request"  In order to
submit one, you will need to push your branch to launchpad under your
own id first. If you need more info, let me know or ask on the nunit-
discuss list.

** Changed in: nunitv2
       Status: New => Triaged

** Changed in: nunitv2
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/1170927

Title:
  RequiresSTA attribute is not inheritable

Status in NUnit V2 Test Framework:
  Triaged

Bug description:
  The attribute RequiresSTA (used for marking tests requiring running in
  the single-threaded-apartment) should be inherited.

  This would allow setting up an abstract base class for a certain tests
  that require STA, rather than marking all derived classes as
  RequiresSTA. The alternative of specifying it at the assembly level is
  too broad for my liking.

  As of 2.6.2, RequiresSTAAttribute is not inherited.

  I have a patch available with tests, but couldn't figure out how to
  submit a pull request.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/1170927/+subscriptions


References