tests on linux aren't run in a sorted order (unlike windows)

Description

When I run testbox on Windows, the test case order is nicely sorted, when I run on linux (i.e travis) it's random

i.e. https://travis-ci.org/github/lucee/Lucee/jobs/772450747#L618

Activity

Show:

Zac Spitzer May 28, 2021 at 12:07 PM
Edited

got it working

Zac Spitzer May 27, 2021 at 4:35 PM

Thanks, I'll have go

Luis Majano May 27, 2021 at 4:19 PM

Ok, by default we do this:

If you want deeper control instead of sending a directory in, you can send your own array of bundles to process in the order you want:https://s3.amazonaws.com/apidocs.ortussolutions.com/testbox/4.3.1/testbox/system/TestBox.html#init()

Look at the bundles argument. Use that instead and pass in the array ordered how you want.

Zac Spitzer May 26, 2021 at 9:29 PM

can you point me in the right direction?

Luis Majano May 26, 2021 at 9:18 PM

Yes we don’t sort. We use the os directory listing. If you want sorting you will have to add it to your runner.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Sentry

Created May 26, 2021 at 11:43 AM
Updated June 16, 2021 at 3:33 PM
Resolved June 16, 2021 at 3:33 PM