Open ansonliao opened 3 years ago
While it would take time for me to dig into this. You can try connecting with the report portal team on their Github repo or slack channel for a faster revert.
@automationhacks Thanks for your reply, yes I am asking help from the slack channel of ReportPortal.
Dear @automationhacks , thanks for your work on provide this sample of ReportPortal of Gradle TestNG, it works fine with your Gradle configuration. I am facing some problem in advance of ReportPortal when want to enable
@Step
annotation for log the test step, I am running the AspectJ Gradle plugin (https://plugins.gradle.org/plugin/io.freefair.aspectj, and this plugin's document: https://docs.freefair.io/gradle-plugins/6.0.0-m2/reference/#_io_freefair_aspectj) and with the sample code of the ReporPortal official provided (https://github.com/reportportal/examples-java/blob/master/example-testng-logback/src/main/java/com/epam/reportportal/example/testng/logback/step/NestedStepsTest.java#L92), unfortunately the nested step of ReporPortal doesn't work in expects. Could you kindly help to work on enable@Step
annotation and provide the finebuild.gradle
sample?Just provide my current
build.gradle
that out of work as below.Also I have a sample project that the
AspectJ
plugin andLomok
plugin work'sbuild.gradle
configuration (https://github.com/ansonliao/Gradle-AspectJ-Sample/blob/master/build.gradle), please reference if need.Hope can hear from ASAP.
Thanks.