Class: Spec::Runner::Formatter::TeamcityFormatter::RunningExampleData
- Inherits:
-
Object
- Object
- Spec::Runner::Formatter::TeamcityFormatter::RunningExampleData
- Defined in:
- lib/rspec/teamcity.rb,
lib/rspec/teamcity_rspec3.rb
Overview
TODO remove flowid
Instance Attribute Summary collapse
-
#additional_flowid_suffix ⇒ Object
readonly
TODO: Remove!.
-
#full_name ⇒ Object
readonly
full task name, example name in build log.
-
#start_time_in_ms ⇒ Object
readonly
start time of example.
-
#stderr_file_new ⇒ Object
readonly
current capturing storage.
-
#stderr_file_old ⇒ Object
readonly
before capture.
-
#stdout_file_new ⇒ Object
readonly
current capturing storage.
-
#stdout_file_old ⇒ Object
readonly
before capture.
Instance Method Summary collapse
- #get_std_files ⇒ Object
-
#initialize(full_name, additional_flowid_suffix, start_time_in_ms, stdout_file_old, stderr_file_old, stdout_file_new, stderr_file_new) ⇒ RunningExampleData
constructor
A new instance of RunningExampleData.
Constructor Details
#initialize(full_name, additional_flowid_suffix, start_time_in_ms, stdout_file_old, stderr_file_old, stdout_file_new, stderr_file_new) ⇒ RunningExampleData
Returns a new instance of RunningExampleData.
650 651 652 653 654 655 656 657 658 659 |
# File 'lib/rspec/teamcity.rb', line 650 def initialize(full_name, additional_flowid_suffix, start_time_in_ms, stdout_file_old, stderr_file_old, stdout_file_new, stderr_file_new) @full_name = full_name # TODO: Remove! @additional_flowid_suffix = additional_flowid_suffix @start_time_in_ms = start_time_in_ms @stdout_file_old = stdout_file_old @stderr_file_old = stderr_file_old @stdout_file_new = stdout_file_new @stderr_file_new = stderr_file_new end |
Instance Attribute Details
#additional_flowid_suffix ⇒ Object (readonly)
TODO: Remove!
643 644 645 |
# File 'lib/rspec/teamcity.rb', line 643 def additional_flowid_suffix @additional_flowid_suffix end |
#full_name ⇒ Object (readonly)
full task name, example name in build log
420 421 422 |
# File 'lib/rspec/teamcity_rspec3.rb', line 420 def full_name @full_name end |
#start_time_in_ms ⇒ Object (readonly)
start time of example
644 645 646 |
# File 'lib/rspec/teamcity.rb', line 644 def start_time_in_ms @start_time_in_ms end |
#stderr_file_new ⇒ Object (readonly)
current capturing storage
648 649 650 |
# File 'lib/rspec/teamcity.rb', line 648 def stderr_file_new @stderr_file_new end |
#stderr_file_old ⇒ Object (readonly)
before capture
646 647 648 |
# File 'lib/rspec/teamcity.rb', line 646 def stderr_file_old @stderr_file_old end |
#stdout_file_new ⇒ Object (readonly)
current capturing storage
647 648 649 |
# File 'lib/rspec/teamcity.rb', line 647 def stdout_file_new @stdout_file_new end |
#stdout_file_old ⇒ Object (readonly)
before capture
645 646 647 |
# File 'lib/rspec/teamcity.rb', line 645 def stdout_file_old @stdout_file_old end |
Instance Method Details
#get_std_files ⇒ Object
661 662 663 |
# File 'lib/rspec/teamcity.rb', line 661 def get_std_files return @stdout_file_old, @stderr_file_old, @stdout_file_new, @stderr_file_new end |