tags:

views:

28

answers:

1

This might seem a sily question to those who are well versed in autonmation but I am struggling with many things. Here's one:

I am finding that the tests I created with Selenium RC in Visual Studio 2008 are getting run from NUnit in the alphabetical order of their names?

What am I missing? Is there a way to organize the order in which the tests in Nunit are run?

Thanks!

+2  A: 

Technically, your unit tests should all be able to run independently of each other so ordering should not matter.

I think it might be time to re-think how you are doing your tests.

If you just want them run in a specific order because that's how you "prefer" them to be run, then I would argue that you are throwing away precious time doing something that really isn't that important.

If you need specific things done before the tests are executed, check out the setup and teardown methods.

Robert Greiner
The problem is I am executing UI automation tests not unit tests.
ATester