File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ Feature:
88
88
}
89
89
}
90
90
"""
91
+
91
92
Scenario : test failures do not update the resultset
92
93
Given SimpleCov for RSpec is configured with:
93
94
"""
@@ -139,7 +140,8 @@ Feature:
139
140
}
140
141
}
141
142
"""
142
- Scenario : When the previous last_run file has covered_percent
143
+
144
+ Scenario : When the previous last_run file has legacy covered_percent it still works
143
145
Given SimpleCov for Test/Unit is configured with:
144
146
"""
145
147
require 'simplecov'
@@ -169,7 +171,7 @@ Feature:
169
171
}
170
172
"""
171
173
172
- Scenario : When the previous last_run file has covered_percent does not update resultset
174
+ Scenario : When the previous last_run file has covered_percent and we fail does not update it
173
175
Given SimpleCov for RSpec is configured with:
174
176
"""
175
177
require 'simplecov'
@@ -257,7 +259,7 @@ Feature:
257
259
{
258
260
"result": {
259
261
"line": 100.0,
260
- "branch": 100.0
262
+ "branch": 100.0
261
263
}
262
264
}
263
265
"""
@@ -324,8 +326,8 @@ Feature:
324
326
SimpleCov.start do
325
327
add_filter 'test.rb'
326
328
enable_coverage :branch
327
- primary_coverage :branch
328
- maximum_coverage_drop line: 0, branch: 0
329
+ primary_coverage :branch
330
+ maximum_coverage_drop line: 0, branch: 0
329
331
end
330
332
"""
331
333
And a file named "lib/faked_project/missed.rb" with:
@@ -353,7 +355,7 @@ Feature:
353
355
{
354
356
"result": {
355
357
"line": 100.0,
356
- "branch": 100.0
358
+ "branch": 100.0
357
359
}
358
360
}
359
361
"""
You can’t perform that action at this time.
0 commit comments