[testng-dev] New Feature: Possible changes to TestNG.run()

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

[testng-dev] New Feature: Possible changes to TestNG.run()

lynchie353

Hi
I also put this on git hub but this might be a better fit :-)

This post is to gauge if there would be an appetite to augment the current TestNG.run() method and add three new public methods e.g prepareRun(), performRun() and postRun().

The reasoning for this is as follows:-
The use case is that we would like to schedule the running of all tests contained a suite.xml file. In this schedule, the configuration methods would only run once i.e. at the start of the suite and at the end of the suite (prepareRun() & postRun() but the tests would be run based on a timer or a predefined loop i.e. performRun().

For this use case, the schedule that determines when and how many times the tests are run is dynamic and will not be known when TestNG is started i.e. performRun() will be called programmatically.

I hope this is the correct place for this post, if not please let me know.

Many thanks
John

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.