IReqnrollOutputHelper.AddAttachment() -> Formatter Messages: embedding attachment file content #1011
Replies: 3 comments 28 replies
-
|
I think this is more a question of what compatibility is expected in the Cucumber Messages ecosystem. It's a format that's consumed by tooling, so the value is only provided through those tools. If the consuming tooling moves in lockstep with the output format, then making the change to the new format seems the natural answer. If tooling updates are rolled out after message-producers are upgraded, then it feels like something needs to maintain a level of backwards compatibility for the interim period, which might be a config switch. Not knowing enough about this ecosystem, I can't really provide an answer, but you may be able to suggest the kinds of compatibility model we should follow. |
Beta Was this translation helpful? Give feedback.
-
|
@gasparnagy I am mostly engaged in test automation projects for large UI-based enterprise applications... Why would you want linked files instead of embedded ones?
In which cases (for which files) would you want to use linked files?
What file/folder structure would you like to use for linked files?
Do you expect the tool (ReqnRoll) to copy files into that structure, or would you manage it yourself?
|
Beta Was this translation helpful? Give feedback.
-
|
Have noticed that ReqnRoll has been update using Cucumber Messages V32... Is the handling of External Attachments included - If so what do I need update my Expressium LivingDoc PlugIn to enable this...? |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Reqnroll outputs Formatter reports using the Cucumber Messages format. Messages supports adding Attachments to the report as embedded content. However, in an upcoming release of Cucumber Messages, this will change. It will add the ability to indicate that an attachment was added by the test runner and identify it by its URI (aka, file name) only; the content of the attachment will not be included.
In the current support for this in Reqnroll Formatters, when a call to
IReqnrollOutputHelper.AddAttachment(string filename)is made, the Formatters subsystem reads the file in order to embed that as Base64 encoded content directly in the report (as anAttachmentmessage).I think we have several options to consider and would like feedback on direction:
ExternalAttachmentwhich will have a property that includes the filename as passed in the call toIReqnrollOutputHelper.AddAttachment(string filename).Beta Was this translation helpful? Give feedback.
All reactions