Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
vagrant-libvirt
0001-Remove-simplecov-from-tests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Remove-simplecov-from-tests.patch of Package vagrant-libvirt
From ee2347143ed5cd867803a2d5aa3b85f5c443444e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com> Date: Thu, 1 Apr 2021 15:25:35 +0200 Subject: [PATCH 1/3] Remove simplecov from tests --- spec/spec_helper.rb | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index cb7a814..9a3912f 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,34 +1,3 @@ -# frozen_string_literal: true - -require 'simplecov' -require 'simplecov-lcov' - -# patch simplecov configuration -if ! SimpleCov::Configuration.method_defined? :branch_coverage? - module SimpleCov - module Configuration - def branch_coverage? - return false - end - end - end -end - -SimpleCov::Formatter::LcovFormatter.config do |config| - config.report_with_single_file = true - config.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 'vagrant-libvirt' require 'support/environment_helper' require 'vagrant-spec/unit' -- 2.31.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor