Comment 3 for bug 740539

Revision history for this message
Charlie Poole (charlie.poole) wrote : Re: [Bug 740539] Re: Feature request: attrbiute for controlling of test order

The requests you are looking at are for older versions of NUnit, where
they were not appropriate. All feature requests are now tracked using
the Launchpad bug tracker. I'll correct the invalid link on the
contact page.

Relying on alphabetical order is a workaround that you can use but it
is _not_ documented and supported beyond the visual order of the
display. In theory it could change at any time. In practice it won't
change until NUnit 3.0, so you're pretty safe using it as a
workaround. The basic problem is that the order of test execution
should not be coupled to the display order as it is in version 2.x.
Further problems arise from the fact that the display must be in some
particular order, while the test execution can take place in several
threads, but that also won't apply till 3.0.

On Wed, Mar 23, 2011 at 12:16 PM, Robert Sosnowski
<email address hidden> wrote:
> First I've reviewed existing feature requests. Link here: http://www.nunit.org/index.php?p=contactUs shows http://sourceforge.net/tracker/?atid=360749&group_id=10749&func=browse as appropriate for this.
> Under this last link I've found similar rejected requests for attributes showing order or dependency between tests: 878856, 1800615, 685680.
> However I've just found in the documentation that order of executing tests is documented and supported (alphabetical order). After upgrading NUnit I've got many failing tests because of incorrect order of tests.
> While this is not as good as it could be with attributes I see that database integration tests can be done using the alphabetical order.
> With this workaround I will wait for attributes.
>
> --
> You received this bug notification because you are subscribed to NUnit
> Extended Testing Platform.
> https://bugs.launchpad.net/bugs/740539
>
> Title:
>  Feature request: attrbiute for controlling of test order
>