private Map<String, Map<String, String>> browserPaths;
private int portNumber;
private String jsTestDriverJar;
public static TestRunnerConfiguration getConfiguration(File configFile, List<String> browserNames) throws FileNotFoundException, YamlException, IOException {
YamlReader reader = null;
TestRunnerConfiguration configuration = null;
try {
reader = new YamlReader(new FileReader(configFile));
configuration = reader.read(TestRunnerConfiguration.class);
}
finally
{
if (reader != null)
{
reader.close();
}
}
configuration.setRelativeDir(configFile.getParentFile());
configuration.setOperatingSystem(CutlassConfig.OS);