Project

General

Profile

Download (641 Bytes) Statistics
| Branch: | Tag: | Revision:

hammer-cli-csv / test / csv_test_helper.rb @ ee942928

1
require 'simplecov'
2
require 'pathname'
3

    
4
SimpleCov.use_merging true
5
SimpleCov.start do
6
  command_name 'MiniTest'
7
  add_filter 'test'
8
end
9
SimpleCov.root Pathname.new(File.dirname(__FILE__) + "../../../")
10

    
11

    
12
require 'minitest/autorun'
13
require 'minitest/spec'
14
require "minitest-spec-context"
15
require "mocha/setup"
16

    
17
require 'hammer_cli_csv'
18

    
19
def ctx 
20
  { :adapter => :silent }
21
end
22

    
23

    
24
#require File.join(File.dirname(__FILE__), 'test_output_adapter')
25
require File.join(File.dirname(__FILE__), 'apipie_resource_mock')
26
require File.join(File.dirname(__FILE__), 'helpers/command')
27
require File.join(File.dirname(__FILE__), 'helpers/resource_disabled')