Class: RSpec::Core::Notifications::SummaryNotification
- Inherits:
-
Struct
- Object
- Struct
- RSpec::Core::Notifications::SummaryNotification
- Defined in:
- lib/rspec/core/notifications.rb
Overview
The SummaryNotification
holds information about the results of running
a test suite. It is used by formatters to provide information at the end
of the test run.
Instance Attribute Summary (collapse)
-
- (Float) duration
the time taken (in seconds) to run the suite.
-
- (Array(RSpec::Core::Example)) examples
the examples run.
-
- (Array(RSpec::Core::Example)) failed_examples
the failed examples.
-
- (Float) load_time
the number of seconds taken to boot RSpec and load the spec files.
-
- (Array(RSpec::Core::Example)) pending_examples
the pending examples.
Instance Attribute Details
- (Float) duration
the time taken (in seconds) to run the suite
365 366 367 |
# File 'lib/rspec/core/notifications.rb', line 365 def duration @duration end |
- (Array(RSpec::Core::Example)) examples
the examples run
365 366 367 |
# File 'lib/rspec/core/notifications.rb', line 365 def examples @examples end |
- (Array(RSpec::Core::Example)) failed_examples
the failed examples
365 366 367 |
# File 'lib/rspec/core/notifications.rb', line 365 def failed_examples @failed_examples end |
- (Float) load_time
the number of seconds taken to boot RSpec and load the spec files
365 366 367 |
# File 'lib/rspec/core/notifications.rb', line 365 def load_time @load_time end |
- (Array(RSpec::Core::Example)) pending_examples
the pending examples
365 366 367 |
# File 'lib/rspec/core/notifications.rb', line 365 def pending_examples @pending_examples end |