Class: RspecSprint::Collector::Result
- Inherits:
-
Struct
- Object
- Struct
- RspecSprint::Collector::Result
- Defined in:
- lib/rspec_sprint/collector.rb
Instance Attribute Summary collapse
-
#exit_status ⇒ Object
Returns the value of attribute exit_status.
-
#factory_prof_path ⇒ Object
Returns the value of attribute factory_prof_path.
-
#rspec_json_path ⇒ Object
Returns the value of attribute rspec_json_path.
-
#stderr ⇒ Object
Returns the value of attribute stderr.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
Instance Method Summary collapse
Instance Attribute Details
#exit_status ⇒ Object
Returns the value of attribute exit_status
18 19 20 |
# File 'lib/rspec_sprint/collector.rb', line 18 def exit_status @exit_status end |
#factory_prof_path ⇒ Object
Returns the value of attribute factory_prof_path
18 19 20 |
# File 'lib/rspec_sprint/collector.rb', line 18 def factory_prof_path @factory_prof_path end |
#rspec_json_path ⇒ Object
Returns the value of attribute rspec_json_path
18 19 20 |
# File 'lib/rspec_sprint/collector.rb', line 18 def rspec_json_path @rspec_json_path end |
#stderr ⇒ Object
Returns the value of attribute stderr
18 19 20 |
# File 'lib/rspec_sprint/collector.rb', line 18 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout
18 19 20 |
# File 'lib/rspec_sprint/collector.rb', line 18 def stdout @stdout end |
Instance Method Details
#factory_prof? ⇒ Boolean
26 27 28 |
# File 'lib/rspec_sprint/collector.rb', line 26 def factory_prof? !factory_prof_path.nil? && File.exist?(factory_prof_path) end |
#rspec_json? ⇒ Boolean
22 23 24 |
# File 'lib/rspec_sprint/collector.rb', line 22 def rspec_json? !rspec_json_path.nil? && File.exist?(rspec_json_path) && !File.zero?(rspec_json_path) end |
#suite_red? ⇒ Boolean
30 31 32 |
# File 'lib/rspec_sprint/collector.rb', line 30 def suite_red? !exit_status.nil? && exit_status != 0 end |