Sha256: fec48315faaef8e131b9ae8bb71450c6827c168fb052a4442288ffb0eb3187eb

Contents?: true

Size: 1.07 KB

Versions: 10

Compression:

Stored size: 1.07 KB

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 test start
    #
    # @param [Env] env
    #
    # @return [self]
    abstract_method :test_start

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

    # Report final test state
    #
    # @param [Runner::Collector] collector
    #
    # @return [self]
    abstract_method :test_report

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

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

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

  end # Reporter
end # Mutant

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mutant-0.12.4 lib/mutant/reporter.rb
mutant-0.12.3 lib/mutant/reporter.rb
mutant-0.12.2 lib/mutant/reporter.rb
mutant-0.12.0 lib/mutant/reporter.rb
mutant-0.11.34 lib/mutant/reporter.rb
mutant-0.11.33 lib/mutant/reporter.rb
mutant-0.11.32 lib/mutant/reporter.rb
mutant-0.11.31 lib/mutant/reporter.rb
mutant-0.11.30 lib/mutant/reporter.rb
mutant-0.11.29 lib/mutant/reporter.rb