Skip to content

Add Attachment.Timestamp to the schema #2271

@gasparnagy

Description

@gasparnagy

🤔 What's the problem you're trying to solve?

During test and step executions the execution might produce multiple attachments. For longer steps the exact timing of when the attachments were captured might be important.
Currently the Attachment envelop type does not have a timestamp and therefore this information cannot be captured and used.

✨ What's your proposed solution?

Add a timestamp field for the Attachment type just like in any other execution-related envelope types, like TestStepStarted.

⛏ Have you considered any alternatives or workarounds?

As the Attachment type does not have any extensibility point to capture additional information, I don't see any meaningful workaround.
The timestamp can be set as optional for backwards compatibility.

📚 Any additional context?

Needed to properly capture attachments for Reqnroll.

//CC @clrudolphi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions