nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #03468
[Bug 1170927] [NEW] RequiresSTA attribute is not inheritable
Public bug reported:
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.
** Affects: nunitv2
Importance: Undecided
Status: New
--
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:
New
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
Follow ups
References