Custom "Custom Run Configuration"

I would like to create two custom run configuraion runners for testng. The first would be the default TestNG runner and the second would start jetty for integration tests before running them.  I use the CMD+SHIFT+R and CMD+R a lot to run individual tests or a whole class, but it is hard to use this feature whe I cannot start my server before an integration test runs.

Is there a way to set up two configurations, so when I run a test in a package that matches something it uses one configuration, otherwise it will use another?

Thanks Austin

1 comment

Hi Austin,

Unfortunately, the ide doesn't offer that facility.

Denis

0

Please sign in to leave a comment.