Class: Buildkite::TestCollector::Trace
- Inherits:
-
Object
- Object
- Buildkite::TestCollector::Trace
- Defined in:
- lib/buildkite/test_collector/trace.rb
Direct Known Subclasses
CucumberPlugin::Trace, MinitestPlugin::Trace, RSpecPlugin::Trace
Instance Attribute Summary collapse
-
#external_id ⇒ Object
Returns the value of attribute external_id.
Instance Method Summary collapse
Instance Attribute Details
#external_id ⇒ Object
Returns the value of attribute external_id.
6 7 8 |
# File 'lib/buildkite/test_collector/trace.rb', line 6 def external_id @external_id end |
Instance Method Details
#as_hash ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/buildkite/test_collector/trace.rb', line 8 def as_hash strip_invalid_utf8_chars( external_id: external_id, scope: scope, name: name, location: prepend_location_prefix(location), file_name: prepend_location_prefix(file_name), result: result, failure_reason: failure_reason, failure_expanded: , history: history, tags: , ).compact end |