Package pysys :: Package xml :: Module descriptor :: Class XMLDescriptorContainer
[hide private]
[frames] | no frames]

Class XMLDescriptorContainer

source code

Holder class for the contents of a testcase descriptor.

Instance Methods [hide private]
 
__init__(self, file, id, type, state, title, purpose, groups, modes, classname, module, input, output, reference, traceability)
Create an instance of the XMLDescriptorContainer class.
source code
string
__str__(self)
Return an informal string representation of the xml descriptor container object
source code
Method Details [hide private]

__init__(self, file, id, type, state, title, purpose, groups, modes, classname, module, input, output, reference, traceability)
(Constructor)

source code 

Create an instance of the XMLDescriptorContainer class.

Parameters:
  • id - The testcase identifier
  • type - The type of the testcase (automated or manual)
  • state - The state of the testcase (runable, deprecated or skipped)
  • title - The title of the testcase
  • purpose - The purpose of the testcase
  • groups - A list of the user defined groups the testcase belongs to
  • modes - A list of the user defined modes the testcase can be run in
  • classname - The classname of the testcase
  • module - The full path to the python module containing the testcase class
  • input - The full path to the input directory of the testcase
  • output - The full path to the output parent directory of the testcase
  • reference - The full path to the reference directory of the testcase
  • traceability - A list of the requirements covered by the testcase

__str__(self)
(Informal representation operator)

source code 

Return an informal string representation of the xml descriptor container object

Returns: string
The string represention