XmlTest test = new XmlTest(suite);
//test.setName(FilenameUtils.getBaseName(script.srcFile.getAbsolutePath()));
test.setName(getTestName(script));
test.addParameter("script", script.srcFile.getAbsolutePath());
if (script.args != null) {
test.addParameter("args", script.args);
}
List<XmlClass> classes = new ArrayList<XmlClass>();
classes.add(new XmlClass(ScriptTest.class));
test.setXmlClasses(classes);