liuggio / fastest

Simple parallel testing execution... with some goodies for functional tests.
MIT License
475 stars 65 forks source link

use input list in inverse mode #135

Closed SailorMax closed 4 years ago

SailorMax commented 5 years ago

Looks like current version use input list in inverse mode (LIFO). Can you use it as expected - FIFO (first input - first output)?

thank you.

DonCallisto commented 5 years ago

AFAIK fastest does not preserve order (that's not LIFO but shuffled). Have you tried to run it with --preserve-order?

SailorMax commented 5 years ago

Yes, I use --preserve-order: bin/phpunit-tests | vendor/bin/fastest --preserve-order -v "phpunit {}"

phpunit-tests output list of tests in required order, but fastest run it from the end...

DonCallisto commented 5 years ago

Sorry for being so much late on this, I have litterally no time for open source lately. BTW I think I've fixed it in https://github.com/liuggio/fastest/pull/136, could you @SailorMax require this particular commit and check if everything is OK? Thanks in advance.

SailorMax commented 5 years ago

Now it work as expected. Thank you!

DonCallisto commented 4 years ago

Fixed in https://github.com/liuggio/fastest/pull/136