Manjunath Bellur
unread,Apr 26, 2011, 7:39:42 AM4/26/11Sign 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 Cédric Beust ♔, testng...@googlegroups.com
Hi,
I have a scenario where I want to use Data driven concept and want to re-run the failed testcases.
Here is the example.
public Object[] datamethod () {
//data is below
x;
y;
z;
return
}
@Test (dataprovider....)
public void myTest (String data) {
}
Now, I am passing 3 data to myTest (x, y and z). Suppose the testcase passes for data X, Z and fails for data Y. How do I re-run the tescases only with value Y. Is there a possibility.
Thanks and Regards
Manjunath