Unit testing: executing order

Hi all,

does anyone know where the executing order of unit-testing depends on?

I tried to find out, but it doesn’t seem to be any of the following: methodname, method UUID, method comment, method order in the js-file…

I’d like to have an order to be able to build time consuming objects and store them as js-variable in order to have them reusable…

Thnkx for any input.

Not quite following what you mean.

UnitTests are to operate standalone, so their order shouldn’t matter. There is however a way to to some initialization (and cleanup) withing the scope where the tests run, by creating a setUp() and a tearDown() method.

Paul

Hi Paul,

They will operate stand-alone, but there are bits of code which have to be executed over and over again.
For this purpose I’d like to have an Init method.

I forgot about the setUp and tearDown methods, they’ll do the job for what I am trying to achieve.

Thnkx a lot!