Sha256: 6573271e4e52246ca80bbc0e5623085e7add5900f54eab03ad39e66634c640a7

Contents?: true

Size: 548 Bytes

Versions: 12

Compression:

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

Version data entries

12 entries across 12 versions & 5 rubygems

Version Path
suzuko-0.1.8 vendor/bundle/ruby/2.0.0/gems/simplecov-0.10.0/features/step_definitions/transformers.rb
suzuko-0.1.7 vendor/bundle/ruby/2.0.0/gems/simplecov-0.10.0/features/step_definitions/transformers.rb
mastermind_adeybee-0.1.4 vendor/bundle/ruby/2.2.0/gems/simplecov-0.10.0/features/step_definitions/transformers.rb
mastermind_adeybee-0.1.3 vendor/bundle/ruby/2.2.0/gems/simplecov-0.10.0/features/step_definitions/transformers.rb
mastermind_adeybee-0.1.2 vendor/bundle/ruby/2.2.0/gems/simplecov-0.10.0/features/step_definitions/transformers.rb
mastermind_adeybee-0.1.1 vendor/bundle/ruby/2.2.0/gems/simplecov-0.10.0/features/step_definitions/transformers.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/simplecov-0.10.0/features/step_definitions/transformers.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/simplecov-0.10.0/features/step_definitions/transformers.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/simplecov-0.10.0/features/step_definitions/transformers.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/simplecov-0.10.0/features/step_definitions/transformers.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/simplecov-0.10.0/features/step_definitions/transformers.rb
simplecov-0.10.0 features/step_definitions/transformers.rb