class Cucumber::Messages::Attachment

Represents the Attachment message in Cucumber’s message protocol.

Attachments (parse errors, execution errors, screenshots, links…)

An attachment represents any kind of data associated with a line in a [Source](io.cucumber.messages.Source) file. It can be used for:

It is not to be used for runtime errors raised/thrown during execution. This is captured in ‘TestResult`.