Sha256: fb3c6875c39bc260db1475711d522fa64f83c388d655efb17326cb825caed55e

Contents?: true

Size: 747 Bytes

Versions: 15

Compression:

Stored size: 747 Bytes

Contents

# encoding: UTF-8

require 'simplecov'
require 'rspec'
require 'pathname'

# Automagically include all helpers/*_helper.rb

base = Pathname(__FILE__).dirname.expand_path
Dir.glob(base + 'helpers/*_helper.rb').each do |file|
  require file
end

RSpec.configure do |config|
  config.filter_run_excluding :broken => true

  config.before(:all) do
    # TODO: Fully setup global environment
  end

  config.after(:all) do
    # TODO: Fully setup global environment
  end

  config.before(:suite) do
    # TODO: Setup test project
  end

  config.after(:suite) do
    # TODO: Delete test project
  end
end

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter
]

SimpleCov.start do
  add_filter 'test/'
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
jetel-0.0.18 spec/spec_helper.rb
jetel-0.0.17 spec/spec_helper.rb
jetel-0.0.16 spec/spec_helper.rb
jetel-0.0.15 test/spec_helper.rb
jetel-0.0.14 test/spec_helper.rb
jetel-0.0.12 test/spec_helper.rb
jetel-0.0.11 test/spec_helper.rb
jetel-0.0.10 test/spec_helper.rb
jetel-0.0.9 test/spec_helper.rb
jetel-0.0.8 test/spec_helper.rb
jetel-0.0.7 test/spec_helper.rb
jetel-0.0.6 test/spec_helper.rb
jetel-0.0.5 test/spec_helper.rb
jetel-0.0.4 test/spec_helper.rb
jetel-0.0.3 test/spec_helper.rb