Package org.testng.internal
Class Yaml
- java.lang.Object
-
- org.testng.internal.Yaml
-
public final class Yaml extends Object
YAML support for TestNG.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XmlSuiteparse(String filePath, InputStream is)static StringBuildertoYaml(XmlSuite suite)The main entry point to convert an XmlSuite into YAML.
-
-
-
Method Detail
-
parse
public static XmlSuite parse(String filePath, InputStream is) throws FileNotFoundException
- Throws:
FileNotFoundException
-
toYaml
public static StringBuilder toYaml(XmlSuite suite)
The main entry point to convert an XmlSuite into YAML. This method is allowed to be used by external tools (e.g. Eclipse).
-
-