defs = Defs().add(
Suite("s1").add(
Family("f1").add(
RepeatDate("YMD",20100111,20100115,2),
[ Task("t{}".format(i)) for i in range(1,3) ] ),
Family("f2").add(
RepeatInteger("count",0,100,2),
[ Task("t{}".format(i)) for i in range(1,3) ] ),
Family("f3").add(
RepeatEnumerated("enum",["red", "green", "blue" ] ),
[ Task("t{}".format(i)) for i in range(1,3) ] ),
Family("f4").add(
RepeatString("enum",["a", "b", "c" ] ),
[ Task("t{}".format(i)) for i in range(1,3) ] ),
Family("f5").add(
RepeatDay(1),
[ Task("t{}".format(i)) for i in range(1,3) ] ))) |