← Back to team overview

nunit-core team mailing list archive

Re: [Question #141938]: Test a Suite of Fixture

 

Question #141938 on NUnit Framework changed:
https://answers.launchpad.net/nunit-3.0/+question/141938

    Status: Open => Needs information

Charlie Poole requested for more information:
What command line do you use in running the tests?

Have you removed the FixtureAttribute to see if it changes any behavior?

You should _either_ use Suite or use a parameterized TestFixture to solve
this problem. Trying to use both at the same time is quite confusing.

Either should work. Use a parameterized fixture with four TestFixture
attributes for a static solution with the tests known in advance. Use
a constructed Suite for a solution that can be built dynamically, based
on the available scripts.

As a third alternative, if each script is but a single test, use a parameterized
test method with script names generated by a data source method.

Charlie

-- 
You received this question notification because you are a member of
NUnit Core Developers, which is an answer contact for NUnit Framework.