← Back to team overview

nunit-core team mailing list archive

[Bug 1078644] [NEW] Culture-related attributes should either be prevented to be used in multiple instances or supported correctly

 

Public bug reported:

Attributes like SetCultureAttribute cannot be used in multiple
instances. In such cases NUnit throws an exception.

Therefore they should either be prevented from being used multiple times
on the same member/type, by setting their AllowMultiple property to
false, or be handled correctly, that is, run the test/fixture as many
times as the attribute is used.

The second one is probably nicer but trickier as it interacts with test
cases, for one.

** 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/1078644

Title:
  Culture-related attributes should either be prevented to be used in
  multiple instances or supported correctly

Status in NUnit V2 Test Framework:
  New

Bug description:
  Attributes like SetCultureAttribute cannot be used in multiple
  instances. In such cases NUnit throws an exception.

  Therefore they should either be prevented from being used multiple
  times on the same member/type, by setting their AllowMultiple property
  to false, or be handled correctly, that is, run the test/fixture as
  many times as the attribute is used.

  The second one is probably nicer but trickier as it interacts with
  test cases, for one.

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


Follow ups

References