Class: Hexx::Suit::Metrics::Pippi

Inherits:
Base
  • Object
show all
Defined in:
lib/hexx/suit/metrics/pippi.rb

Overview

Prepares and runs pippi environment

Constant Summary

Constants inherited from Base

Base::SYSTEM

Class Method Summary collapse

Methods inherited from Base

#load, #run

Class Method Details

.loadundefined

Prepares log file and sets ENV variables for pippi rake tasks


25
26
27
28
29
30
# File 'lib/hexx/suit/metrics/pippi.rb', line 25

def load
  prepare_output
  set_environment

  super
end

.newHexx::Suit::Metrics::MetricFu

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.

Constructs the object and loads 'pippi' gem dependency

Loads pippi settings, prepares the log file, and sets ENV variables for the pippi rake tasks.


16
17
18
19
# File 'lib/hexx/suit/metrics/pippi.rb', line 16

def self.new
  require "pippi"
  super
end

.runundefined

Starts pippi AutoRunner


36
37
38
# File 'lib/hexx/suit/metrics/pippi.rb', line 36

def run
  ::Pippi::AutoRunner.new checkset: checkset, io: io
end