Skip to content

Commit 6b52abb

Browse files
committed
Add coveralls support.
1 parent 430da52 commit 6b52abb

File tree

5 files changed

+80
-1
lines changed

5 files changed

+80
-1
lines changed

coverage/.last_run.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"result": {
3+
"covered_percent": 94.12
4+
}
5+
}

coverage/.resultset.json

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
"Unit Tests": {
3+
"coverage": {
4+
"/Users/aaronvb/Projects/rails_react_stdio/lib/rails_react_stdio.rb": [
5+
1,
6+
1,
7+
1
8+
],
9+
"/Users/aaronvb/Projects/rails_react_stdio/lib/rails_react_stdio/configuration.rb": [
10+
1,
11+
1,
12+
0,
13+
null,
14+
null,
15+
1,
16+
null,
17+
null,
18+
9,
19+
null,
20+
null,
21+
null,
22+
1,
23+
1,
24+
null,
25+
1,
26+
1,
27+
null,
28+
null,
29+
null
30+
],
31+
"/Users/aaronvb/Projects/rails_react_stdio/lib/rails_react_stdio/react.rb": [
32+
1,
33+
1,
34+
1,
35+
1,
36+
1,
37+
1,
38+
4,
39+
4,
40+
4,
41+
4,
42+
4,
43+
null,
44+
null,
45+
1,
46+
null,
47+
1,
48+
4,
49+
null,
50+
4,
51+
4,
52+
4,
53+
null,
54+
null,
55+
1,
56+
4,
57+
1,
58+
null,
59+
3,
60+
null,
61+
0,
62+
null,
63+
null,
64+
null,
65+
null
66+
]
67+
},
68+
"timestamp": 1454359162
69+
}
70+
}

coverage/.resultset.json.lock

Whitespace-only changes.

rails_react_stdio.gemspec

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Gem::Specification.new do |s|
1313
s.author = ['Aaron Van Bokhoven']
1414
s.email = ['[email protected]']
1515

16+
s.add_development_dependency 'coveralls', '>= 0.8.10'
1617
s.add_development_dependency 'minitest-reporters', '>= 1.1.7'
1718
s.add_development_dependency 'shoulda-context', '>= 1.2.1'
1819

test/test_helper.rb

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
require 'coveralls'
2+
Coveralls.wear!
3+
14
require 'minitest/autorun'
25
require 'minitest/reporters'
36
require 'shoulda/context'
47

5-
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new # spec-like progress
8+
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new

0 commit comments

Comments
 (0)