nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #00187
[Question #89721]: Documentation on execution order of inherited TearDown methods
New question #89721 on NUnit Framework:
https://answers.launchpad.net/nunit-3.0/+question/89721
The documentation at http://www.nunit.org/index.php?p=teardown&r=2.5.2 contains the following paragraph: "With NUnit 2.5, you can achieve the same result by defining a TearDown method in the base class and another in the derived class. NUnit will call base class TearDown methods before those in the derived classes." However, the release notes at http://nunit.com/index.php?p=releaseNotes&r=2.5.2 say "Setups in a base class are executed before those in a derived class and teardowns are executed in the reverse order.", which is the intuitive way one expects this to work. I am investigating use of NUnit, so I have not attempted this yet, but a documentation error exists regardless in one location or the other.
--
You received this question notification because you are a member of
NUnit Core Developers, which is an answer contact for NUnit Framework.