Sha256: 27c0eb49a922cd4add12e905266a9a1bd972fc44467fa40978fbf431bb4e2b96

Contents?: true

Size: 717 Bytes

Versions: 86

Compression:

Stored size: 717 Bytes

Contents

# frozen_string_literal: true

module Mutant
  # Abstract base class for reporters
  class Reporter
    include AbstractType

    # Write warning message
    #
    # @param [String] message
    #
    # @return [self]
    abstract_method :warn

    # Report start
    #
    # @param [Env] env
    #
    # @return [self]
    abstract_method :start

    # Report collector state
    #
    # @param [Runner::Collector] collector
    #
    # @return [self]
    abstract_method :report

    # Report progress on object
    #
    # @param [Object] object
    #
    # @return [self]
    abstract_method :progress

    # The reporter delay
    #
    # @return [Float]
    abstract_method :delay

  end # Reporter
end # Mutant

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
mutant-0.11.28 lib/mutant/reporter.rb
mutant-0.11.27 lib/mutant/reporter.rb
mutant-0.11.26 lib/mutant/reporter.rb
mutant-0.11.25 lib/mutant/reporter.rb
mutant-0.11.24 lib/mutant/reporter.rb
mutant-0.11.23 lib/mutant/reporter.rb
mutant-0.11.22 lib/mutant/reporter.rb
mutant-0.11.21 lib/mutant/reporter.rb
mutant-0.11.20 lib/mutant/reporter.rb
mutant-0.11.19 lib/mutant/reporter.rb
mutant-0.11.18 lib/mutant/reporter.rb
mutant-0.11.17 lib/mutant/reporter.rb
mutant-0.11.16 lib/mutant/reporter.rb
mutant-0.11.15 lib/mutant/reporter.rb
mutant-0.11.14 lib/mutant/reporter.rb
mutant-0.11.13 lib/mutant/reporter.rb
mutant-0.11.12 lib/mutant/reporter.rb
mutant-0.11.11 lib/mutant/reporter.rb
mutant-0.11.10 lib/mutant/reporter.rb
mutant-0.11.9 lib/mutant/reporter.rb