This module adapts 'isystem.test' winIDEA functionality to Python.
|
def | connectToPrimaryCore (envConfig, winIDEAWorkspace, winIDEAId, pathToIConnectDll='') |
|
def | getISysDirs (mccMgr, iyamlFileName, testBench) |
|
def | getXsltFName (reportConfig) |
|
def | createHtmlReport (mccMgr, reportConfig) |
|
def | exportForCobertura (mccMgr, coreId, trdFilePath, srcDirs=[], isIndent=False) |
|
def | getSaxonPaths (mccMgr) |
|
def | getVector (testBase, section) |
|
def | getMap (testBase, section) |
|
def | getKeys (testBase, section) |
|
def python.exports.isystem.itest.exportForCobertura |
( |
|
mccMgr, |
|
|
|
coreId, |
|
|
|
trdFilePath, |
|
|
|
srcDirs = [] , |
|
|
|
isIndent = False |
|
) |
| |
This function exports the given trd file in iSYSTEM XML
coverage format to current working dir. If Jenkins is running the
test, then current working dir is Jenkins workspace dir.
@param mccMgr connection manager used to export coverage from winIDEA
@param trdFilePath name of trd file to be exported. It is also used
for the name of output file, with extension '.cobertura.xml' added.
@param srcDirs if specified, the <sources> tag is added to the exported XML.
Each item in the list creates one <source> tag. Use this feature
if analysis tool needs to locate the sources, for example GitLab
coverage analysis.
@param isIndent if True, the output XML is created with newlines and
indentations. Good for readability, but files are bigger.