I think this is a very very good thing.  Your tests should never rely on the
order in which they run.  In fact some frameworks will in fact jumble all of
the tests and randomize run order so that order will not matter (MbUnit may
be one of these...Jeff?) .

It's not a C# thing at all but rather a "good unit test practice"

Tim Barcz


On Wed, Jun 24, 2009 at 2:05 AM, Rob Langley <[email protected]> wrote:

>
> Hi
>
> This is probably a basic question for someone who is more competent
> with c#.  I have written a number of tests grouped in different
> classes.  For instance:
>
> BasicTests.cs
> [test1]
>
> [test2]
>
> AdvancedTests.cs
> [Test1]
>
> Test2]
>
> When I run them in either TeamCity or Gallio I can't seem to predict
> the order they will run?
>
> Thanks in advance
>
> Rob
> >
>


-- 
Tim Barcz
ASPInsider
http://timbarcz.devlicio.us
http://www.twitter.com/timbarcz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to