Sha256: 529d50971de842df05ee320073b4e91ee9507237715193cd7b98fa4eace52498
Contents?: true
Size: 745 Bytes
Versions: 21
Compression:
Stored size: 745 Bytes
Contents
# frozen_string_literal: true module Mutant class Reporter class CLI class Printer # Test result reporter class TestResult < self delegate :tests, :runtime STATUS_FORMAT = '- %d @ runtime: %s' OUTPUT_HEADER = 'Test Output:' TEST_FORMAT = ' - %s' # Run test result reporter # # @return [undefined] def run info(STATUS_FORMAT, tests.length, runtime) tests.each do |test| info(TEST_FORMAT, test.identification) end puts(OUTPUT_HEADER) puts(object.output) end end # TestResult end # Printer end # CLI end # Reporter end # Mutant
Version data entries
21 entries across 21 versions & 1 rubygems