Page 1 of 1

PhpUnit Testing warning

Posted: Tue Jan 18, 2011 3:24 pm
by VladSun
If I create a test file containing only data-provided (i.e. using the @dataProvider annotation) tests, then the whole test is marked as "no-tests-to-run" together with OK for the data-provided test.

Using Netbeans, PhpUnit plugin.

Solutions? I just put an empty no-data-provided test method and it's OK, but ...

Re: PhpUnit Testing warning

Posted: Tue Jan 18, 2011 10:02 pm
by Weirdan
Seems to be a bug to me. File a bug report: https://github.com/sebastianbergmann/phpunit/issues

Re: PhpUnit Testing warning

Posted: Fri Jan 21, 2011 2:54 am
by josh
Try running it outside of netbeans before filing a bug. Also can you show the test case class in question? I'd agree it seems like a bug though. I know if Sebastian doesn't agree he'll usually just close the issue w/o explanation though which can be frustrating sometimes, so I always try to double check before filing a bug report and not hearing back for weeks

Re: PhpUnit Testing warning

Posted: Fri Jan 21, 2011 5:57 am
by VladSun
Seems like it's a Netbeans bug :(
No warnings displayed in the console.