toptal / crystalball

Regression Test Selection library for your RSpec test suite
https://toptal.github.io/crystalball/
MIT License
322 stars 41 forks source link

Handle execution maps without example groups #104

Closed noralin closed 5 years ago

noralin commented 5 years ago

We're parallelizing our tests on CI and generating multiple execution maps.

Sometimes we don't actually run any tests on a specific worker, but an execution map is still generated without any example groups.

We ran into no implicit conversion of nil into Hash, so this PR compacts the example groups before merging them.

cc @MarkyMarkMcDonald

pluff commented 5 years ago

@noralin sorry for delay. Thanks for your contribution it will be available in next release.