Eran
unread,Jun 20, 2006, 9:15:15 AM6/20/06Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to testn...@googlegroups.com
Hi,
Today, if TestNG is invoked and it doesn't find any tests to run, it marks the test run as a success (0/0/0).
Obviously, if you open the reports you could see that no test was executed but if you run TestNG automatically by Ant and rely on the failureProperty to perform some actions, that can lead to a problem.
As it's common to make mistakes like misspelling a group, people might get the false impression that all tests pass when in fact no test was executed. Therefore, I believe that such an "empty run" should be considered as a failure.
What does everybody think?
Regards,
Eran