File: minitest_helper.rb

package info (click to toggle)
ruby-fog-xml 0.1.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 196 kB
  • sloc: ruby: 246; makefile: 2
file content (33 lines) | stat: -rw-r--r-- 835 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
require "minitest/spec"
require "minitest/autorun"
#require "turn"
require "excon"
require "fog/core"

#Turn.config do |c|
  ## use one of output formats:
  ## :outline  - turn's original case/test outline mode [default]
  ## :progress - indicates progress with progress bar
  ## :dotted   - test/unit's traditional dot-progress mode
  ## :pretty   - new pretty reporter
  ## :marshal  - dump output as YAML (normal run mode only)
  ## :cue      - interactive testing
  ## c.format  = :outline
  ## turn on invoke/execute tracing, enable full backtrace
  #c.trace   = 20
  ## use humanized test names (works only with :outline format)
  #c.natural = true
#end

if ENV["COVERAGE"]
  require "coveralls"
  require "simplecov"

  SimpleCov.start do
    add_filter "/spec/"
  end
end

require 'fog/xml'

Coveralls.wear! if ENV["COVERAGE"]