RequiresSTA attribute is not inheritable

Bug #1170927 reported by Matt Richardson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NUnit Framework
Triaged
Low
Unassigned

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.

Tags: github
Revision history for this message
Charlie Poole (charlie.poole) wrote :

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
importance: Undecided → Low
affects: nunitv2 → nunit-3.0
tags: added: github
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.