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)
I don't see anything wrong with your code. But a hold on repo would be better as I could debug.
I don't think this is a good place for such talk. Please, post this issue on StackOverflow.