allure-framework / allure-java

Allure integrations for Java test frameworks
Apache License 2.0
352 stars 222 forks source link

Allure AssertJ steps are duplicated as multiple sub-steps #1064

Open Sundeltop opened 2 months ago

Sundeltop commented 2 months ago

What happened?

When some AssertJ assertion is executed (isEqualTo, isTrue etc), it is duplicated in report as multiple sub-steps image

Caused by @Pointcut("execution(public * org.assertj.core.api.AbstractAssert+.*(..)) && !proxyMethod()") matching multiple assertion methods being called

What Allure Integration are you using?

allure-assertj

What version of Allure Integration you are using?

2.27.0

What version of Allure Report you are using?

2.27.0

Code of Conduct

baev commented 2 months ago

Agree. Feel free to send a PR with the pointcut improvements!