I use dataprovider in oder to create test from a file..and all is ok.. for example my Object[][] is
new Object {1, createnode}
new Object {2, generate}
new Object {3, delete}
Now I have the following problem:
While the execution is going I have an instruction of my grammar for testing that is capable of generate items. The problem is that in testng you can not change runtime the dataprovider fuction in order to reload tests
For example:
new Object {1, createnode}
new Object {2, generate}
new Object {3, delete}
new Object {4, create}
new Object {5, create}
How is it possible to reload dataprovider or what can I use instead of?
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.