Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 762c465b5..29762f59d 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,12 @@
# frozen_string_literal: true
+require 'simplecov'
+require 'simplecov-cobertura'
+
+unless ENV['SIMPLECOV'] == '0'
+ SimpleCov.start
+ SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
+end
$LOAD_PATH << 'lib/'
require 'rspec-parameterized'