Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
reference-repository
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
grid5000
reference-repository
Commits
eab62e5a
Commit
eab62e5a
authored
5 years ago
by
Lucas Nussbaum
Committed by
Jonathan Pastor
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add a spec_helper file that loads simplecov to output a coverage report
parent
f0551652
Branches
Branches containing commit
No related tags found
1 merge request
!6
WIP: Features/oar gpus
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
Gemfile
+2
-1
2 additions, 1 deletion
Gemfile
Gemfile.lock
+7
-0
7 additions, 0 deletions
Gemfile.lock
tests/oar_properties_spec.rb
+2
-0
2 additions, 0 deletions
tests/oar_properties_spec.rb
tests/spec_helper.rb
+9
-0
9 additions, 0 deletions
tests/spec_helper.rb
with
21 additions
and
1 deletion
.gitignore
+
1
−
0
View file @
eab62e5a
...
@@ -7,3 +7,4 @@ bundle
...
@@ -7,3 +7,4 @@ bundle
.bundle
.bundle
vendor
vendor
/tmp
/tmp
coverage
This diff is collapsed.
Click to expand it.
Gemfile
+
2
−
1
View file @
eab62e5a
...
@@ -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
"
This diff is collapsed.
Click to expand it.
Gemfile.lock
+
7
−
0
View file @
eab62e5a
...
@@ -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
This diff is collapsed.
Click to expand it.
tests/oar_properties_spec.rb
+
2
−
0
View file @
eab62e5a
$LOAD_PATH
.
unshift
(
File
.
expand_path
(
File
.
dirname
(
__FILE__
)))
require
'spec_helper'
require
'rspec'
require
'rspec'
require
'webmock/rspec'
require
'webmock/rspec'
...
...
This diff is collapsed.
Click to expand it.
tests/spec_helper.rb
0 → 100644
+
9
−
0
View file @
eab62e5a
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'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment