File: simplecov

package info (click to toggle)
ruby-delayed-job 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 388 kB
  • sloc: ruby: 2,780; makefile: 8
file content (31 lines) | stat: -rw-r--r-- 734 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: Disable simplecov
 Disable simplecov while running tests.
Author: Balasankar C <balasankarc@autistici.org>
Forwarded: not-needed
Last-Update: 2021-11-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -1,21 +1,3 @@
-require 'simplecov'
-require 'simplecov-lcov'
-
-SimpleCov::Formatter::LcovFormatter.config do |c|
-  c.report_with_single_file = true
-  c.single_report_path = 'coverage/lcov.info'
-end
-SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new(
-  [
-    SimpleCov::Formatter::HTMLFormatter,
-    SimpleCov::Formatter::LcovFormatter
-  ]
-)
-
-SimpleCov.start do
-  add_filter '/spec/'
-end
-
 require 'logger'
 require 'rspec'