Closed seanf closed 9 years ago
Hi @seanf, thanks for your issue. Do you have a formulation in mind which would have help you better? Thanks & Regards, Andreas
How about throwing an exception in TestGenerator.explodeTestMethod() with a message like "DataProvider methods must not be static" when dataProviderMethod has Modifier.STATIC?
On 29 May 2015 at 17:32, Andreas Schmid notifications@github.com wrote:
Hi @seanf https://github.com/seanf, thanks for your issue. Do you have a formulation in mind which would have help you better? Thanks & Regards, Andreas
— Reply to this email directly or view it on GitHub https://github.com/TNG/junit-dataprovider/issues/45#issuecomment-106725769 .
I will fix it during the weekend. Thanks!
Thanks for a great tool!
On 29 May 2015 at 17:45, Andreas Schmid notifications@github.com wrote:
I will fix it during the weekend. Thanks!
— Reply to this email directly or view it on GitHub https://github.com/TNG/junit-dataprovider/issues/45#issuecomment-106730294 .
Thanks for reporting!
Adapting a former TestNG test, I had a data provider method which was not static, and got this error message. It took me a while to work out what was wrong, so a clearer error message would be nice to have.
(I'm using version 1.9.3.)