TestNG exits when a DataProvider throws an Exception

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

TestNG exits when a DataProvider throws an Exception

Gastón Tonietti

When a RuntimeException is thrown from a DataProvider invocation,
testng aborts, so, the test suite is not completed and the reports are
not generated.
In order to testng completes the suite is necessary to exclude tests
which use the broken dataprovider, by grouping them and excluding the
group from the suite or just filter them in the ant task.
I think this is a very painful work and the correct behavior should be
to skip those methods and go on with the other. It would be consistent
with the dependency feature.
Thanks in advance.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---