[cucumber] Adding a file to support/ can break requires ordering

Current code in cucumber prioritizes features/support/ files, but if I
add another file in that location, then it can (sometimes) include that
file first. Seems to depend on the number of files actually in the
entire list being sorted, or something.

I added a ticket for this issue.

http://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/213-sorting-problems-with-files-to-require-with-extra-files-in-featuressupport

Meanwhile, is there a different place I should put this helper file that
would be better suited than support/ ?

Thanks,

Randy

Randy H. wrote:

Current code in cucumber prioritizes features/support/ files, but if I add another file in that location, then it can (sometimes) include that file first. Seems to depend on the number of files actually in the entire list being sorted, or something.

I added a ticket for this issue.

Lighthouse - Beautifully Simple Issue Tracking

I’ve replied on the ticket.

Meanwhile, is there a different place I should put this helper file that would be better suited than support/ ?

No, that is the correct spot.

-Ben