[Solved] TestNG No tests found Nothing was run

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

That's why we need the dislike button

atharvmishra
Автор

this did not solve my issue.I am still getting same error

pranita
Автор

what was this..this is not called solution

abhishekthomas
Автор

We have to use @Test() annotation in method level not in class level and It is not applicable to Main method. We have to apply Test annotation Only local and static methods not for Main method and class level.check once it will work.

rameshrongala
Автор

This is so true aneesh.. I could solve the problem after refresh in project explorer..Thanks ..was trying to find solution for this..

tanushrimukherjee