D
Dylan
Hey there! I had a question about the order tests are run in
Test::Unit. I have a class with about 10 tests and I'd like to be able
to better control the order they run in. Right now they just run
alphabetically, and I could just add prefixes to my test names, but
I'm likely not going to be the one updating this code in the future
and I'd like to keep it as straightforward and simple as possible
(i.e. not end up with test_admintests_part1_login as a test name). I'm
keeping them all in one class because I'm using CI_reporter to
generate the XML results and I'd like it to be in one file. Is there
any way to change the order individual tests run, or is there a way to
have CI_reporter create only 1 XML file for multiple test suites. I've
looked around quite a bit for answers to either of these questions but
have so far found nothing (although it's a distinct possibility that I
just totally missed it an need a smack on the head). Thank you very
much!
-Dylan
Test::Unit. I have a class with about 10 tests and I'd like to be able
to better control the order they run in. Right now they just run
alphabetically, and I could just add prefixes to my test names, but
I'm likely not going to be the one updating this code in the future
and I'd like to keep it as straightforward and simple as possible
(i.e. not end up with test_admintests_part1_login as a test name). I'm
keeping them all in one class because I'm using CI_reporter to
generate the XML results and I'd like it to be in one file. Is there
any way to change the order individual tests run, or is there a way to
have CI_reporter create only 1 XML file for multiple test suites. I've
looked around quite a bit for answers to either of these questions but
have so far found nothing (although it's a distinct possibility that I
just totally missed it an need a smack on the head). Thank you very
much!
-Dylan