Class: Hexx::RSpec::Metrics::SimpleCov Private
- Defined in:
- lib/hexx-rspec/metrics/simplecov.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Prepares and runs test coverage environment
Class Method Summary collapse
-
.load ⇒ self
private
Configures the SimpleCov metric.
-
.new ⇒ Hexx::RSpec::Metrics::SimpleCov
private
Loads the simplecov and coveralls gem.
-
.run ⇒ undefined
private
Configures simplecov from the simplecov.yml file and starts the metric.
Methods inherited from Base
Class Method Details
.load ⇒ self
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Configures the SimpleCov metric
28 29 30 31 32 33 |
# File 'lib/hexx-rspec/metrics/simplecov.rb', line 28 def load set_environment configure_metric super end |
.new ⇒ Hexx::RSpec::Metrics::SimpleCov
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Loads the simplecov and coveralls gem
19 20 21 22 |
# File 'lib/hexx-rspec/metrics/simplecov.rb', line 19 def self.new %w(simplecov coveralls).each { |gem| require gem } super end |
.run ⇒ undefined
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Configures simplecov from the simplecov.yml file and starts the metric
40 41 42 |
# File 'lib/hexx-rspec/metrics/simplecov.rb', line 40 def run metric.start end |