greghaskins / spectrum

A BDD-style test runner for Java 8. Inspired by Jasmine, RSpec, and Cucumber.
MIT License
145 stars 23 forks source link

Make randomOrder configuration, allowing tests to be run in any order… #128

Open ashleyfrieze opened 7 years ago

ashleyfrieze commented 7 years ago

… within their part of the tree.

A solution to #47

@tjarratt - what do you think?

codecov[bot] commented 7 years ago

Codecov Report

Merging #128 into master will increase coverage by 0.01%. The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #128      +/-   ##
============================================
+ Coverage     99.45%   99.47%   +0.01%     
- Complexity      349      361      +12     
============================================
  Files            43       45       +2     
  Lines           739      760      +21     
  Branches         22       22              
============================================
+ Hits            735      756      +21     
  Partials          4        4
Impacted Files Coverage Δ Complexity Δ
.../java/com/greghaskins/spectrum/internal/Suite.java 100% <100%> (ø) 57 <3> (+2) :arrow_up:
.../main/java/com/greghaskins/spectrum/Configure.java 100% <100%> (ø) 14 <2> (+2) :arrow_up:
...ctrum/internal/configuration/BlockRandomOrder.java 100% <100%> (ø) 7 <7> (?)
...ghaskins/spectrum/internal/ExecutionSequencer.java 100% <100%> (ø) 1 <1> (?)
marioplumbarius commented 6 years ago

I'm really looking forward to having this feature pushed.

@greghaskins @tjarratt Any chances for this to get merged?

ashleyfrieze commented 6 years ago

I would like to retest this with the gherkin style tests to make sure it can’t scramble them.