SetUpFixture and SetUp doc inconsistency

Bug #992799 reported by Matthew Flaschen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NUnit V2
Fix Released
Low
Charlie Poole

Bug Description

The SetUpFixtureAttribute web docs (http://www.nunit.org/index.php?p=setupFixture&r=2.6) says "This is the attribute that marks a class that contains the one-time setup or teardown methods for all the test fixtures under a given namespace." However, the XML docs (http://bazaar.launchpad.net/~nunit-core/nunitv2/trunk/view/head:/src/NUnitFramework/framework/Attributes/SetUpFixtureAttribute.cs#L11) just say "SetUpFixtureAttribute is used to identify a SetUpFixture" which is vague.

More confusingly, the SetUpAttribute XML docs (http://bazaar.launchpad.net/~nunit-core/nunitv2/trunk/view/head:/src/NUnitFramework/framework/Attributes/SetUpAttribute.cs) say, "Attribute used to mark a class that contains one-time SetUp and/or TearDown methods that apply to all the tests in a namespace or an assembly." However, the web docs say "This attribute is used inside a TestFixture to provide a common set of functions that are performed just before each test method is called." (which I think is correct).

It looks like the SetUpAttribute XML docs have text belonging to SetUpFixtureAttribute.

Related branches

Changed in nunitv2:
status: New → Triaged
importance: Undecided → Low
Changed in nunitv2:
assignee: nobody → Charlie Poole (charlie.poole)
milestone: none → 2.6.1
Changed in nunitv2:
status: Triaged → Fix Committed
Changed in nunitv2:
status: Fix Committed → Fix Released
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.