← Back to team overview

nunit-core team mailing list archive

[Bug 1170927] Re: RequiresSTA attribute is not inheritable

 

** Project changed: nunitv2 => nunit-3.0

-- 
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 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/nunit-3.0/+bug/1170927/+subscriptions


References