@Step and @Attachment works only with gradle, and with junit5 launcher don't work( Allure.step() works with junit5 launcher ) #2063
-
Why |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
You need to configure AspectJ for IDEA -- see https://www.jetbrains.com/help/idea/aspectj.html |
Beta Was this translation helpful? Give feedback.
-
@baev i started from command line the jar file with main function from the class Tester. I don't use gradle. And i don't get steps in the allure report wirh @step only with Allure.step() function there are steps. Can you say me, why it happens and how can i fix this issue.
} public class MainCommand implements Runnable {
} |
Beta Was this translation helpful? Give feedback.
-
@baev i found in the stackover of you https://stackoverflow.com/questions/51560256/allure-generate-allure-results-with-jar and |
Beta Was this translation helpful? Give feedback.
@baev i found in the stackover of you https://stackoverflow.com/questions/51560256/allure-generate-allure-results-with-jar and
try the same with my jar file, where i use junit5 for tests and i only add to my command -javaagent and it works. Magic....
java -jar -javaagent:aspectjweaver-1.9.19.jar guitester-5.5.11.0-000-SNAPSHOT.jar %*