Yaroslav Pernerovsky Yaroslav Pernerovsky - 1 year ago 173
Groovy Question

Allure @Step annotation does not work with groovy/spock code

I'm using spock framework and groovy for my tests. Also I'm using allure-spock-1.0-adaptor for generating Allure reports. Reports looks fine, but not showing steps in results. All groovy methods are annotated with @Step but still not logged in report.
How to fix that?

Answer Source

Check FAQ. I suppose you need to add javaagent. AspectJ is used to process steps, attachments and parameters.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download