Enable story execution priority strategy

Description

Why do we need to prioritize stories for execution:

  • We may collect statistic about story execution time and based on that decide what stories we should schedule first

  • End users may use something like meta to set story weight manually based on this execution time

  • asc / desc execution order

In deprecated api found stories are sorted in natural order by their path

Activity

Show:

Mauro Talevi December 9, 2020 at 3:28 PM

Pulled with thanks!

Mauro Talevi December 9, 2020 at 3:28 PM

Sure, moving to github actions is fine. I too find travis a bit sluggish and sometimes quirky.

Uladzislau Arlouski December 9, 2020 at 3:18 PM

Hi Thanks for the feedback, I updated according to your comments, please review when you have time.

Link to passed build: https://travis-ci.org/github/jbehave/jbehave-core/jobs/748560069

Also I see that it takes too much time for build to start, what do you think about moving from travis to github actions?

Thanks

Mauro Talevi December 9, 2020 at 1:53 PM

Hi - a useful enhancement.

I would only suggest renaming:

storyExecutionPriorityStrategy → storyExecutionComparator

to better reflect the nature of the object at hand (also strategy is something bigger in scope that may include the comparator)

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created December 9, 2020 at 12:51 PM
Updated December 9, 2020 at 3:28 PM
Resolved December 9, 2020 at 3:28 PM