eftest icon indicating copy to clipboard operation
eftest copied to clipboard

nondeterministic execution order of tests

Open johanatan opened this issue 7 years ago • 4 comments
trafficstars

Between separate runs of my tests, I'm seeing them execute in a different order although the default execution order for JUnit is purported to be "deterministic but not predictable". Any way to get eftest to behave the same way?

johanatan avatar Jul 20 '18 21:07 johanatan

Have you set the :multithread? option to false?

weavejester avatar Jul 21 '18 01:07 weavejester

Yes

johanatan avatar Jul 21 '18 02:07 johanatan

I've looked through the code, and the vars and namespaces are tested in the order they're found. If we want a deterministic ordering, we probably want to perform a sort when multithreading is off.

weavejester avatar Jul 21 '18 21:07 weavejester

That would be great.

johanatan avatar Jul 21 '18 21:07 johanatan