类: RSpec::Core::Notifications::StartNotification
- 继承
-
Struct
- Object
- Struct
- RSpec::Core::Notifications::StartNotification
- 定义于
- lib/rspec/core/notifications.rb
概述
StartNotification
代表了当套件开始运行时,由报告器发送的通知。它包含了要执行的预期示例数量和 RSpec 的加载时间。
实例属性摘要 折叠
-
#count ⇒ Fixnum
计数的数字。
-
#load_time ⇒ Float
启动 RSpec 和加载规范文件所花费的秒数。
实例属性细节
#count ⇒Fixnum
计数的数字
26 27 28 |
# File 'lib/rspec/core/notifications.rb', line 26 def count @count end |
#load_time ⇒Float
启动 RSpec 和加载规范文件所花费的秒数
26 27 28 |
# File 'lib/rspec/core/notifications.rb', line 26 def load_time @load_time end |