Class: FlakyTestTracker::TestInput
- Inherits:
-
Object
- Object
- FlakyTestTracker::TestInput
- Includes:
- ActiveModel::Model, ActiveModel::Serializers::JSON
- Defined in:
- lib/flaky_test_tracker/test_input.rb
Overview
Test input attributes.
Instance Attribute Summary collapse
-
#description ⇒ String
Test description.
-
#exception ⇒ String
Test exception message.
-
#file_path ⇒ String
Test source code file path.
-
#finished_at ⇒ Time
The moment the test execution finished.
-
#line_number ⇒ Integer
Test source code line number.
-
#number_occurrences ⇒ Integer
The number of times a failure was tracked.
-
#reference ⇒ String
Test unique reference.
-
#resolved_at ⇒ Time
The moment the test was resolved.
-
#source_location_url ⇒ String
Test source code location URL.
Instance Method Summary collapse
Instance Attribute Details
#description ⇒ String
Test description.
17 18 19 |
# File 'lib/flaky_test_tracker/test_input.rb', line 17 def description @description end |
#exception ⇒ String
Test exception message.
17 18 19 |
# File 'lib/flaky_test_tracker/test_input.rb', line 17 def exception @exception end |
#file_path ⇒ String
Test source code file path.
17 18 19 |
# File 'lib/flaky_test_tracker/test_input.rb', line 17 def file_path @file_path end |
#finished_at ⇒ Time
The moment the test execution finished.
17 18 19 |
# File 'lib/flaky_test_tracker/test_input.rb', line 17 def finished_at @finished_at end |
#line_number ⇒ Integer
Test source code line number.
17 18 19 |
# File 'lib/flaky_test_tracker/test_input.rb', line 17 def line_number @line_number end |
#number_occurrences ⇒ Integer
The number of times a failure was tracked.
17 18 19 |
# File 'lib/flaky_test_tracker/test_input.rb', line 17 def number_occurrences @number_occurrences end |
#reference ⇒ String
Test unique reference.
17 18 19 |
# File 'lib/flaky_test_tracker/test_input.rb', line 17 def reference @reference end |
#resolved_at ⇒ Time
The moment the test was resolved.
17 18 19 |
# File 'lib/flaky_test_tracker/test_input.rb', line 17 def resolved_at @resolved_at end |
#source_location_url ⇒ String
Test source code location URL.
17 18 19 |
# File 'lib/flaky_test_tracker/test_input.rb', line 17 def source_location_url @source_location_url end |
Instance Method Details
#==(other) ⇒ Object
50 51 52 |
# File 'lib/flaky_test_tracker/test_input.rb', line 50 def ==(other) attributes == other.attributes end |