Removes attachments that match a regexp from successful tests
- Put
AllureAttachmentsRemover.java
to the project sources - Put a file named
io.qameta.allure.listener.TestLifecycleListener
toresources/META-INF/services/
(this file should contain the qualified name ofAllureAttachmentsRemover.java
(name with package)) - Add
allure.report.remove.attachments
toallure.properties
file (the property value should contain a regexp for attachment names)
Won't work with nested steps (on each level with attachments).