Class: RSpec::Core::Notifications::StartNotification

Inherits:
Struct
  • Object
show all
Defined in:
lib/rspec/core/notifications.rb

Overview

The StartNotification represents a notification sent by the reporter when the suite is started. It contains the expected amount of examples to be executed, and the load time of RSpec.

Instance Attribute Summary collapse

Instance Attribute Details

#countFixnum

the number counted

Returns:

  • (Fixnum)

    the current value of count

26
27
28
# File 'lib/rspec/core/notifications.rb', line 26
def count
  @count
end

#load_timeFloat

the number of seconds taken to boot RSpec and load the spec files

Returns:

  • (Float)

    the current value of load_time

26
27
28
# File 'lib/rspec/core/notifications.rb', line 26
def load_time
  @load_time
end