On Sat, Oct 24, 2009 at 3:18 PM, threecuptea
<sonya_ling1947@...> wrote:
If I have three different set of data defined in DataProvider and I expect to
get the following result:
Data A : execute successfully
Data B : will get exception ex1
Data C : will get exception ex2
I won't be able to write one generic test using the above data provider,
will I? I have to write three separate tests with expectedException value
hard coded. DataProvider model won't help in this scenario. Will it?
You should write three different test methods for this scenario.
--
Cédric
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to
testng-users@... To unsubscribe from this group, send email to
testng-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---