{
GeneratorConfigurations allConfigs = GeneratorConfigurations.createConfigurations();
if (!allConfigs.containsKey(configName))
throw new ConfigurationException("Error: unable to load configuration '" + configName + "', it is not found in existing configurations (" + allConfigs.keySet() + ")");
GeneratorConfiguration config = allConfigs.get(configName);
System.out.println(config.printConfiguration());
JeniGenerator generator = new JeniGenerator(config);
if (logger.isInfoEnabled())
logger.info(GeneratorOption.getStatus());
int index = 1;
for(TestSuiteEntry entry : config.getTestSuite())
{
System.out.println("Processing " + (index++) + "/" + config.getTestSuite().size());
run(generator, entry);
}
}