lundi 26 octobre 2015

In my testNG unit tests can I use @factory more than once?

I am using @factory to generate a bunch of tests dynamically. Some of these tests need to be put on hold for 5 mins and then validate something else. For that, I am ending the current test and want to use @factory again to generate a second batch of new tests that finish the validations. The problem is, I did not have success when trying to call @factory for the second time. Is this possible?

Is there a better way to do this?

Aucun commentaire:

Enregistrer un commentaire