|
| | connectToPrimaryCore (envConfig, winIDEAWorkspace, winIDEAId, pathToIConnectDll='') |
| | createHtmlReport (mccMgr, reportConfig) |
| | exportForCobertura (mccMgr, coreId, trdFilePath, srcDirs=[], isIndent=False) |
| | getISysDirs (mccMgr, iyamlFileName, testBench) |
| | getKeys (testBase, section) |
| | getMap (testBase, section) |
| | getSaxonPaths (mccMgr) |
| | getVector (testBase, section) |
| | getXsltFName (reportConfig) |
This module adapts 'isystem.test' winIDEA functionality to Python.
| 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.