allure-framework / allure-java

Allure integrations for Java test frameworks
Apache License 2.0
357 stars 226 forks source link

impr(cucumberjvm): support selective runs and more #947

Closed baev closed 1 year ago

baev commented 1 year ago

Context

  1. Deprecate CucumberJVM 2 & 3 due to low usage stats
  2. All the changes from Cucumber 7 are backported to 6, 5 & 4
  3. Tests are aligned as well, refactored to improve API a bit
  4. TestNg listener now ignores results from cucumber tests if CucumberJVM integration is detected in the classpath (fixes #918 )
  5. JUnit Platform listener now ignores cucumber tests if CucumberJVM integration is detected in the classpath (fixes #870 , fixes #739 )
  6. Align full names to support selective runs. For JUnit Platform selective runs now work out of the box
  7. TestNG filter can be improved as well but requires TestNG 7 or higher, will be addressed in a separate PR
  8. JUnit 4 now ignores results from the Cucumber runner if Allure Cucumber integration is detected in the classpath.
  9. Add JUnit 4 test plan filter & aspect

Checklist

baev commented 1 year ago

fixes https://github.com/allure-framework/allure-java/issues/939

baev commented 1 year ago

fixes https://github.com/allure-framework/allure-java/issues/876