Sha256: a094e46612e468392188977701acecef488d904f5fa6698353d78e163c9c63c0

Contents?: true

Size: 554 Bytes

Versions: 36

Compression:

Stored size: 554 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
  in_current_directory { files = Dir["spec/**/*_spec.rb"] }
  "bundle exec rspec #{files.sort.join(' ')}"
end

Version data entries

36 entries across 36 versions & 10 rubygems

Version Path
dirwatch-0.0.9 vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/step_definitions/transformers.rb
dirwatch-0.0.8 vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/step_definitions/transformers.rb
tdiary-5.0.9 vendor/bundle/gems/simplecov-0.14.1/features/step_definitions/transformers.rb
dirwatch-0.0.6 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/transformers.rb
dirwatch-0.0.5 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/transformers.rb
dirwatch-0.0.4 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/transformers.rb
dirwatch-0.0.3 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/transformers.rb
dirwatch-0.0.2 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/transformers.rb
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/step_definitions/transformers.rb
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/step_definitions/transformers.rb
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/step_definitions/transformers.rb
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/step_definitions/transformers.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/simplecov-0.14.1/features/step_definitions/transformers.rb
simplecov-patched-0.14.3 features/step_definitions/transformers.rb
simplecov-patched-0.14.2 features/step_definitions/transformers.rb
simplecov-0.14.1 features/step_definitions/transformers.rb
simplecov-0.14.0 features/step_definitions/transformers.rb
simplecov-0.13.0 features/step_definitions/transformers.rb
abaci-0.3.0 vendor/bundle/gems/simplecov-0.12.0/features/step_definitions/transformers.rb
ivanvc-logstash-input-s3-3.1.1.4 vendor/local/gems/simplecov-0.12.0/features/step_definitions/transformers.rb