Sha256: b177bb16d0f34391e46c807dadaee035c82f0e5c155e869fe6a96a512d66165b

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

module Petitest
  module SubscriberConcerns
    module OutputConcern
      # @note Override
      def after_running_test_cases(test_cases)
        super
        self.finished_at = ::Time.now
      end

      # @note Override
      def before_running_test_cases(test_cases)
        super
        self.started_at = ::Time.now
      end

      private

      # @return [IO]
      def output
        ::Petitest.configuration.output
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
petitest-0.1.2 lib/petitest/subscriber_concerns/output_concern.rb