lanbeier / testng-eclipse

Automatically exported from code.google.com/p/testng-eclipse
0 stars 0 forks source link

Customizable MAIN_RUNNER #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
I would like the ability change the MAIN_RUNNER from RemoteTestNG to a
custom RemoteTestNG. Primarily to Run Grails with TestNG in Eclipse.

What version of the product are you using? On what operating system?
Eclipse 3.3.x on Windows

Please provide any additional information below.
I looked at the code and found that there are a number of places that
RemoteTestNG.getClass.name() instead of using
TestNGPluginConstants.MAIN_RUNNER. I have changed that and added the
ability to change the MAIN_RUNNER through preferences for the project or
for the workspace. Changed TestNGLaunchConfigurationDelegate to get the
preference instead of the MAIN_RUNNER constant. I have attached a patch
file with my proposed changes. Please let me know if these are acceptable.

Original issue reported on code.google.com by madaj...@gmail.com on 17 Jun 2008 at 12:47

Attachments: