cbeust/testng-eclipse — pull request #119 by romeara (2014-11-26 03:07:25+00:00)
Title: Add a preference for the test view taking focus when tests complete

I use TestNG a lot with personal projects and in my job, and it is wonderful. One of the few things that makes it more difficult to work with in Eclipse is that the test result window jumps to the top of its pane once a test run completes, overlaying whatever I had been working on while waiting for the tests to complete (or the console I was watching while the tests ran).

This may just be a problem specific to how I use the plug-in, but in case it is not, I've put together a pull request which makes this behavior a configurable preference (which defaults to the current behavior). It allows the default "focus on test complete" to be turned off, similar to how the built-in console can have its "show on stdout" and "show on stderr" behaviors configured.

I didn't see any specific guidelines for pull requests in the readme, so I just tried to match the existing coding conventions. I manually tested the change - I'm not sure how to unit test Eclipse plug-in UI elements

![testngpref](https://cloud.githubusercontent.com/assets/1018131/5195720/3b46c4e2-74ef-11e4-9a36-c2434cd0560b.png)