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 Method Summary collapse
Instance Method Details
#as_hash ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/buildkite/test_collector/trace.rb', line 6 def as_hash strip_invalid_utf8_chars( 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: , ).select { |_, value| !value.nil? } end |