pysys.xml.project module

class pysys.xml.project.Project(root, projectFile)[source]

Bases: object

Class detailing project specific information for a set of PySys tests.

Reads and parses the PySys project file if it exists and translates property element name/value entries in the project file into data attributes of the class instance.

Variables:
  • root (string) – Full path to the project root, as specified by the first PySys project file encountered when walking down the directory tree from the start directory
  • projectFile (string) – Full path to the project file. May be None, though providing a file is recommended.
__init__(root, projectFile)[source]

Initialize self. See help(type(self)) for accurate signature.

class pysys.xml.project.XMLProjectParser(dirname, file)[source]

Bases: object

__init__(dirname, file)[source]

Initialize self. See help(type(self)) for accurate signature.

addToPath()[source]
checkVersions()[source]
createFormatters()[source]
expandFromEnvironent(value, default)[source]
expandFromProperty(value, default)[source]
getMakerDetails()[source]
getPerformanceReporterDetails()[source]
getProperties()[source]
getPropertiesFromFile(file)[source]
getRunnerDetails()[source]
getWriterDetails()[source]
writeXml()[source]