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

- (Fixnum) count

the number counted

Returns:

  • (Fixnum)

    the current value of count

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

- (Float) load_time

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

Returns:

  • (Float)

    the current value of load_time

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