...
| Code Block |
|---|
def create_sequential_suite(name) :
suite = Suite(name)
for i in range(1, 7) :
fam = suite.add_family("f" + str(i))
if i != 1:
fam += Trigger("f" + str(i-1) + " == complete") # or fam.add_family( "f%d == complete" % (i-1) )
for t in ( "a", "b", "c", "d", "e" ) :
fam.add_task(t)
return suite |
For more detailed example please see the user manual
The following python code shows examples of adding the various attributes to a node tree.
For a detailed explanation please consult the user manual.
...