Sha256: 26eb038982ac8066127f5e55a8a71fb7064487c509e9fd73fe7fc1ee82bd8607
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
# frozen_string_literal: true module Mutant class Reporter class CLI class Printer # Reporter for progressive output format on scheduler Status objects class StatusProgressive < self FORMAT = '(%02d/%02d) %3d%% - killtime: %0.02fs runtime: %0.02fs overhead: %0.02fs' delegate( :coverage, :runtime, :amount_mutations_killed, :amount_mutations, :amount_mutation_results, :killtime, :overhead ) # Run printer # # @return [undefined] def run status( FORMAT, amount_mutations_killed, amount_mutations, coverage * 100, killtime, runtime, overhead ) end private # Object being printed # # @return [Result::Env] def object super().payload end end # StatusProgressive end # Printer end # CLI end # Reporter end # Mutant
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mutant-0.8.24 | lib/mutant/reporter/cli/printer/status_progressive.rb |