support for TestFixtureSetup in NunitLite

Asked by Ankitha

Hello all,

I am looking for some global setup attribute (a setup which is global for not only tests within a TestFixture but also for all test classes/TestFixtures) using NunitLite. Is it available? Is there any workaround for this?

My intention is do some setup( some application process start) before start of any unit test (4 unit test classes having around 40 tests cases) and do some cleanup ( application close/kill) upon successful completion of all unit tests.

I am using NUnitLite version 0.6 which doesn't even support TestFixtureSetup and TestFixtureTearDown attributes.

Question information

Language:
English Edit question
Status:
Answered
For:
NUnitLite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Charlie Poole (charlie.poole) said :
#1

The build of NUnitLite that is currently being done as a part of the
nunit-3.0 project has
TestFixtureSetup and many other new features. Take a look at it's
latest release (2.9.5)
and see if it has what you need.

In the near future, I plan to make a release of NUnitLite based on
that code. I haven't
quite figured out how to maintain the two projects separately while using common
source code.

On Thu, Jul 7, 2011 at 5:06 AM, Ankitha
<email address hidden> wrote:
> New question #164059 on NUnitLite:
> https://answers.launchpad.net/nunitlite/+question/164059
>
> Hello all,
>
> I am looking for some global setup attribute (a setup which is global for not only tests within a TestFixture but also for all test classes/TestFixtures) using NunitLite. Is it available? Is there any workaround for this?
>
> My intention is do some setup( some application process start) before start of any unit test (4 unit test classes having around 40 tests cases) and do some cleanup ( application close/kill) upon successful completion of all unit tests.
>
> I am using NUnitLite version 0.6 which doesn't even support TestFixtureSetup and TestFixtureTearDown attributes.
>
> --
> You received this question notification because you are an answer
> contact for NUnitLite.
>

Can you help with this problem?

Provide an answer of your own, or ask Ankitha for more information if necessary.

To post a message you must log in.