nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #00532
Re: [Question #108758]: best practice to re-execute a test suite with another parameter common to all tests
Question #108758 on NUnit Framework changed:
https://answers.launchpad.net/nunit-3.0/+question/108758
Status: Open => Answered
Charlie Poole proposed the following answer:
Yes, that's correct. There is a bit more too it than that (see docs) but
your example is a simple one and the parameters to TestFixture map one-
to-one to the constructor. Regarding changing data without re-compiling
- that would work with an external file, but we don't yet support an
attribute that does that - you could of course read one within a test,
but you would not be able to control the instantiation of a fixture.
PS: I agree that the docs need rewriting - but parameterized fixtures
are new and in flux so nobody has gotten around to it.
--
You received this question notification because you are a member of
NUnit Core Developers, which is an answer contact for NUnit Framework.