TestNG testng = new TestNG( true );
Configurator configurator = getConfigurator( (String) options.get( "testng.configurator" ) );
System.out.println( "Configuring TestNG with: " + configurator.getClass().getSimpleName() );
XmlMethodSelector groupMatchingSelector = getGroupMatchingSelector( options );
XmlMethodSelector methodNameFilteringSelector = getMethodNameFilteringSelector( methodNamePattern );
Map<String, SuiteAndNamedTests> suitesNames = new HashMap<String, SuiteAndNamedTests>();
List<XmlSuite> xmlSuites = new ArrayList<XmlSuite>();
for ( Class testClass : testClasses )