Sha256: de8ec4a1ea3b9949d506398298384159240a910c0d94eb9397410dba581eacb6
Contents?: true
Size: 541 Bytes
Versions: 2
Compression:
Stored size: 541 Bytes
Contents
# # Enforce the alphabetical execution of specs because rspec 2+ executes them # randomly with `rspec spec` while we need them in an accurate order for coverage # reports that include the spec files. # # This is due to the fact that coverage will not include the first loaded spec/test file. # To get predictable coverage results, we need to know which one that is... # Transform "bundle exec rspec spec" do |_| files = nil # Avoid shadowing cd(".") { files = Dir["spec/**/*_spec.rb"] } "bundle exec rspec #{files.sort.join(' ')}" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simplecov-0.15.1 | features/step_definitions/transformers.rb |
simplecov-0.15.0 | features/step_definitions/transformers.rb |