nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01825
[Bug 809947] Re: SetUpFixture with parameter
Oh, no, ignore is not the important thing. Just a nice add on. Ignore
the ignore ;-)
The important thing is that I can specify the input data for the tests
and have a constructor to store them in the setup-class. So the
connection is only build once for all tests in the namepsace and not (as
done with the Fixturesetup) for every class. This reduces the connection
establish by about factor 100 (in our case). The build of the connection
needs sometimes more time than the whole test. So we can reduce the time
for all nunit-tests by more than 60%. This is the reason why.
--
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.
https://bugs.launchpad.net/bugs/809947
Title:
SetUpFixture with parameter
Status in NUnit Test Framework:
New
Bug description:
SetUpFixture should have the same possibilities with paramater as
TextFixture, so that the class can have constructors with parameters.
[TestFixture("GiantDb", "DbPass", IgnoreReason="does not work")]
[TestFixture("SmallDb", "DbPass")]
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/809947/+subscriptions
References