Mentions légales du service

Skip to content
Snippets Groups Projects
Commit eab62e5a authored by Lucas Nussbaum's avatar Lucas Nussbaum Committed by Jonathan Pastor
Browse files

Add a spec_helper file that loads simplecov to output a coverage report

parent f0551652
No related branches found
No related tags found
1 merge request!6WIP: Features/oar gpus
...@@ -7,3 +7,4 @@ bundle ...@@ -7,3 +7,4 @@ bundle
.bundle .bundle
vendor vendor
/tmp /tmp
coverage
...@@ -10,4 +10,5 @@ gem "ruby-cute", :require => "cute" ...@@ -10,4 +10,5 @@ gem "ruby-cute", :require => "cute"
gem "peach" gem "peach"
gem "restfully" gem "restfully"
gem "rspec" gem "rspec"
gem "webmock" gem "webmock"
\ No newline at end of file gem "simplecov"
...@@ -10,6 +10,7 @@ GEM ...@@ -10,6 +10,7 @@ GEM
diff-lcs (1.3) diff-lcs (1.3)
diffy (3.3.0) diffy (3.3.0)
dns-zone (0.3.1) dns-zone (0.3.1)
docile (1.3.2)
domain_name (0.5.20190701) domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0) unf (>= 0.0.5, < 1.0.0)
faraday (0.15.4) faraday (0.15.4)
...@@ -93,6 +94,11 @@ GEM ...@@ -93,6 +94,11 @@ GEM
net-ssh-multi (>= 1.2) net-ssh-multi (>= 1.2)
rest-client (>= 1.6) rest-client (>= 1.6)
safe_yaml (1.0.5) safe_yaml (1.0.5)
simplecov (0.17.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
unf (0.1.4) unf (0.1.4)
unf_ext unf_ext
unf_ext (0.0.7.6) unf_ext (0.0.7.6)
...@@ -115,4 +121,5 @@ DEPENDENCIES ...@@ -115,4 +121,5 @@ DEPENDENCIES
restfully restfully
rspec rspec
ruby-cute ruby-cute
simplecov
webmock webmock
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__)))
require 'spec_helper'
require 'rspec' require 'rspec'
require 'webmock/rspec' require 'webmock/rspec'
......
require 'simplecov'
SimpleCov.start do
add_filter '/tests/'
add_filter '/bundle/'
end
# This outputs the report to your public folder
# You will want to add this to .gitignore
SimpleCov.coverage_dir 'coverage'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment