Package io.qameta.allure
Annotation Interface Attachment
Used to mark methods that produce attachments. Returned value of such methods
will be copied and shown in the report as attachment.
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueThe attachment name.- Returns:
- the attachment name.
- Default:
""
-
type
String typeValid attachment MimeType, for example "text/plain" or "application/json".- Returns:
- the attachment type.
- Default:
""
-
fileExtension
String fileExtensionOptional attachment file extension. By default file extension will be determined by provided media type. Should be started with dot.- Returns:
- the attachment file extension.
- Default:
""
-