Class: RSpec::Core::Notifications::ProfileNotification
- Inherits:
-
Struct
- Object
- Struct
- RSpec::Core::Notifications::ProfileNotification
- Defined in:
- lib/rspec/core/notifications.rb
Overview
The ProfileNotification
holds information about the results of running
a test suite when profiling is enabled. It is used by formatters to provide
information at the end of the test run for profiling information.
Instance Attribute Summary (collapse)
-
- (Float) duration
the time taken (in seconds) to run the suite.
-
- (Array(RSpec::Core::Example)) examples
the examples run.
-
- (Fixnum) number_of_examples
the number of examples to profile.
Instance Attribute Details
- (Float) duration
the time taken (in seconds) to run the suite
461 462 463 |
# File 'lib/rspec/core/notifications.rb', line 461 def duration @duration end |
- (Array(RSpec::Core::Example)) examples
the examples run
461 462 463 |
# File 'lib/rspec/core/notifications.rb', line 461 def examples @examples end |
- (Fixnum) number_of_examples
the number of examples to profile
461 462 463 |
# File 'lib/rspec/core/notifications.rb', line 461 def number_of_examples @number_of_examples end |