Generate test drop zip file for ATS3.
Generates drop zip files file from a TestPlan instance. The main
responsibility of this class is to serialize the plan into a valid XML
file and build a zip file for the drop.
Creates one <set> for ASTE tests.
|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
generate(self,
test_plan,
output_file)
Generate a test drop file. |
source code
|
|
|
generate_drop(self,
test_plan,
xml,
output_file)
Generate test drop zip file. |
source code
|
|
|
generate_xml(self,
test_plan)
Generate test drop XML. |
source code
|
|
|
generate_target(self,
test_plan,
root)
Append target(s) into the XML |
source code
|
|
|
generate_plan(self,
test_plan)
Generate the test <plan> with multiple <set>s. |
source code
|
|
|
generate_steps(self,
setd,
case,
test_plan)
Generate the test plan <step>s. |
source code
|
|
|
generate_execute_asset_steps(self,
case,
test_plan)
Executes steps for TestAsset |
source code
|
|
|
generate_post_actions(self,
test_plan)
Generate post actions. |
source code
|
|
|
generate_testasset_zip(self,
test_plan,
output_file=None)
Generate TestAsset.zip for the ASTE server |
source code
|
|
|
drop_files(self,
test_plan)
Yield a list of drop files. |
source code
|
|
|
generate_files(self,
test_plan)
Generate the <files> section. |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|