testng-team / testng

TestNG testing framework
https://testng.org
Apache License 2.0
1.98k stars 1.02k forks source link

TestNG 7.0.0 not working Asserts, Tags annotations, listeners #2242

Closed r4f431007 closed 4 years ago

r4f431007 commented 4 years ago

TestNG Version

7.0.0

Expected behavior

previous versions were working normally

Actual behavior

Not working

Is the issue reproductible on runner?

Test case sample

image

krmahadevan commented 4 years ago

The latest released version of TestNG is 7.1.0 Please try again using that. From the screenshot it looks like you have a messed up CLASSPATH

If you are still experiencing the same issue using 7.1.0 Please create a sample that can be used to demonstrate the problem and comment back.

If you are experiencing this problem only when you import the project within eclipse (but the same works fine when you run from Maven command line), please create an issue in https://github.com/cbeust/testng-eclipse/issues.

r4f431007 commented 4 years ago

Fixed. I've changed to Eclipse 2018-09 (4.9) and it's working.