module Petitest::SubscriberConcerns::TimeConcern
Attributes
finished_at[RW]
@return [Time, nil]
started_at[RW]
@return [Time, nil]
Public Instance Methods
after_running_test_plan(test_plan)
click to toggle source
@note Override
Calls superclass method
# File lib/petitest/subscriber_concerns/time_concern.rb, line 13 def after_running_test_plan(test_plan) super self.finished_at = ::Time.now end
before_running_test_plan(test_plan)
click to toggle source
@note Override
Calls superclass method
# File lib/petitest/subscriber_concerns/time_concern.rb, line 19 def before_running_test_plan(test_plan) super self.started_at = ::Time.now end