You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you have any plans on improving that? I can imagine that it is not the highest priority thing.
It is not a warning for me and I know that I can use @SuppressWarnings("unused") but I just don't think it is a proper solution.
TestNG is dealing with that somehow so maybe it is a good place to see how it could be done? There to use parametrisation you need to use @Test(dataProvider = <method name here>) and then annotate method with @DataProvider. It also supports renaming method out of the box somehow.
The text was updated successfully, but these errors were encountered:
features you are talking about comes from IntelliJ that has support for TestNG.
To solve the problem with the unused method we might introduce new annotation to mark data provider methods (similar as in TestNG) Only having an annotation on method should remove unused warning.
I had no idea that it comes from IntelliJ support for TestNG. Assuming that having an annotation would not work - the only thing left would be to write a plugin for IntelliJ?
Do you have any plans on improving that? I can imagine that it is not the highest priority thing.
It is not a warning for me and I know that I can use
@SuppressWarnings("unused")
but I just don't think it is a proper solution.TestNG is dealing with that somehow so maybe it is a good place to see how it could be done? There to use parametrisation you need to use
@Test(dataProvider = <method name here>)
and then annotate method with@DataProvider
. It also supports renaming method out of the box somehow.The text was updated successfully, but these errors were encountered: