public interface AllureResultsWriter
| Modifier and Type | Method and Description |
|---|---|
void |
write(java.lang.String source,
java.io.InputStream attachment)
Writes given attachment.
|
void |
write(io.qameta.allure.model.TestResult testResult)
Writes Allure test result bean.
|
void |
write(io.qameta.allure.model.TestResultContainer testResultContainer)
Writes Allure test result container bean.
|
void write(io.qameta.allure.model.TestResult testResult)
testResult - the given bean to write.AllureResultsWriteException - if some error occurs
during operation.void write(io.qameta.allure.model.TestResultContainer testResultContainer)
testResultContainer - the given bean to write.AllureResultsWriteException - if some error occurs
during operation.void write(java.lang.String source,
java.io.InputStream attachment)
source - the file name of the attachment. Make sure that file name
matches the following glob: *-attachment*. The right way to generate attachment is generate UUID, determinate attachment extension and then use it as
{UUID}-attachment.{ext}attachment - the steam that contains attachment body.