Class Yaml


  • public final class Yaml
    extends java.lang.Object
    YAML support for TestNG.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static XmlSuite parse​(java.lang.String filePath, java.io.InputStream is)  
      static java.lang.StringBuilder toYaml​(XmlSuite suite)
      The main entry point to convert an XmlSuite into YAML.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parse

        public static XmlSuite parse​(java.lang.String filePath,
                                     java.io.InputStream is)
                              throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • toYaml

        public static java.lang.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).