Sha256: 11b6c4cebe4050080f3dd2baf9ae00fcc438d59ca3a353795b8b01f87a95d901
Contents?: true
Size: 430 Bytes
Versions: 2
Compression:
Stored size: 430 Bytes
Contents
module CodeClimate module TestReporter def self.start if run? require "simplecov" ::SimpleCov.add_filter 'vendor' ::SimpleCov.formatter = Formatter ::SimpleCov.start("test_frameworks") else puts("Not reporting to Code Climate because ENV['CODECLIMATE_REPO_TOKEN'] is not set.") end end def self.run? !!ENV["CODECLIMATE_REPO_TOKEN"] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
codeclimate-test-reporter-0.1.1 | lib/code_climate/test_reporter.rb |
codeclimate-test-reporter-0.1.0 | lib/code_climate/test_reporter.rb |