Qytera-Gmbh / QTAF

QTAF is a Java test framework based on TestNG and offers easy setup of Selenium and fast extensibility.
https://qytera-gmbh.github.io
MIT License
10 stars 0 forks source link

Using @Listeners(className.class) not functioning in QTaf #307

Open mzdih opened 2 months ago

mzdih commented 2 months ago

In our QTaf project, we have several listeners (BindingGasListener, BindingPowerListener, IndicativeListener). Some test cases (TCs) are annotated with these listeners, meaning only these specific TCs should consider them. Examples of the annotated test cases: CreateOfferBindingTest and CreatePlannedOffer. However, the issue is that these listeners are being used in all other test cases, which results in skipping every test. To reproduce the problem, please use the Maven command: mvn test -DtestSuite=src/testng/suites/subset.xml -Dtests.groups=[Group-id] rather than using IntelliJ. For more information about the problem, please contact me.

image

mzdih commented 4 days ago

@OliverHoenig @qytera-development are there any updates to this issue?