@dsaff @noel-yap 
I think it's likely that some people will have their own command-line parsing code, and won't use JUnitCore. For those people, I think it would be useful to have a function like this somewhere.