Package pysys :: Package writer :: Class JUnitXMLResultsWriter
[hide private]
[frames] | no frames]

Class JUnitXMLResultsWriter

source code

Class to log test results in Apache Ant JUnit XML format (one output file per test per cycle).

Instance Methods [hide private]
 
__init__(self, logfile)
Create an instance of the TextResultsWriter class.
source code
 
setup(self, **kwargs)
Implementation of the setup method.
source code
 
cleanup(self, **kwargs)
Implementation of the cleanup method.
source code
 
processResult(self, testObj, **kwargs)
Implementation of the processResult method.
source code
 
purgeDirectory(self, dir, delTop=False) source code
Instance Variables [hide private]
string outputDir = None
Path to output directory to write the test summary files
Method Details [hide private]

__init__(self, logfile)
(Constructor)

source code 

Create an instance of the TextResultsWriter class.

Parameters:
  • logfile - The (optional) filename template for the logging of test results

setup(self, **kwargs)

source code 

Implementation of the setup method.

Creates the output directory for the writing of the test summary files.

Parameters:
  • kwargs - Variable argument list

cleanup(self, **kwargs)

source code 

Implementation of the cleanup method.

Parameters:
  • kwargs - Variable argument list

processResult(self, testObj, **kwargs)

source code 

Implementation of the processResult method.

Creates a test summary file in the Apache Ant Junit XML format.

Parameters: