winIDEA SDK
Loading...
Searching...
No Matches
python.exports.isystem.itest Namespace Reference

Description

This module adapts 'isystem.test' winIDEA functionality to Python.

Classes

class  ISysDirs
 This class contains directories used by iSYSTEM tools: winIDEAWorkspaceDir, iyamlDir, reportDir, and dotExeDir (dir of dot tool). More...
 
class  PTestCase
 

Functions

 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)
 

Function Documentation

◆ connectToPrimaryCore()

python.exports.isystem.itest.connectToPrimaryCore ( envConfig,
winIDEAWorkspace,
winIDEAId,
pathToIConnectDll = '' )
Connects to primary core in multicore targets.

◆ createHtmlReport()

python.exports.isystem.itest.createHtmlReport ( mccMgr,
reportConfig )
Creates test report in HTML format. Returns name of created HTML
file, or None if file was not created because of settings in
reportConfig.

◆ exportForCobertura()

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.

◆ getISysDirs()

python.exports.isystem.itest.getISysDirs ( mccMgr,
iyamlFileName,
testBench )
Returns class containing directories used by winIDEA and testIDEA.

◆ getKeys()

python.exports.isystem.itest.getKeys ( testBase,
section )
 Returns StrVector of keys for the given mapping section. 

◆ getMap()

python.exports.isystem.itest.getMap ( testBase,
section )
 Returns mapping adapter for the given section. 

◆ getSaxonPaths()

python.exports.isystem.itest.getSaxonPaths ( mccMgr)
 Returns paths of java.exe and saxon distributed with winIDEA. 

◆ getVector()

python.exports.isystem.itest.getVector ( testBase,
section )
  Returns string vector of the specified section.

◆ getXsltFName()

python.exports.isystem.itest.getXsltFName ( reportConfig)
Returns name of XSLT as defined in the given reportConfig.