class documentation
A Test is a Node with special semantics that it performs a unit/integration test. The data model is the same except the option to set the respawn flag is removed.
Method | __init__ |
Construct a new test node. :param test_name: name of test for recording in test results, str :param time_limit: number of seconds that a test |
Method | xmlattrs |
NOTE: xmlattrs does not necessarily produce identical XML as to what it was initialized with, though the properties are the same |
Method | xmltype |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | retry |
Undocumented |
Instance Variable | test |
Undocumented |
Instance Variable | time |
Undocumented |
Inherited from Node
:
Method | to |
convert representation into remote representation. Remote representation does not include parameter settings or 'machine' attribute :returns:: XML representation for remote machine, str |
Method | to |
convert representation into XML representation. Currently cannot represent private parameters. :returns:: XML representation for remote machine, str |
Instance Variable | args |
Undocumented |
Instance Variable | cwd |
Undocumented |
Instance Variable | env |
Undocumented |
Instance Variable | filename |
Undocumented |
Instance Variable | launch |
Undocumented |
Instance Variable | machine |
Undocumented |
Instance Variable | machine |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | namespace |
Undocumented |
Instance Variable | output |
Undocumented |
Instance Variable | package |
Undocumented |
Instance Variable | process |
Undocumented |
Instance Variable | remap |
Undocumented |
Instance Variable | required |
Undocumented |
Instance Variable | respawn |
Undocumented |
Instance Variable | respawn |
Undocumented |
Instance Variable | type |
Undocumented |
def __init__(self, test_name, package, node_type, name=None, namespace='/', machine_name=None, args='', remap_args=None, env_args=None, time_limit=None, cwd=None, launch_prefix=None, retry=None, filename='<unknown>'):
¶
Construct a new test node. :param test_name: name of test for recording in test results, str :param time_limit: number of seconds that a test
should run before marked as a failure, int/float/long