Pseudo-Beispielanwendung
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
971 B

2 years ago
# A: keywords to control;B: value ;;;;
option:description:0;create 2 new contracts;;;;
option:_input;testa;;# _ defines a keyword=variable in the spec: ;;
# ;;;;;
# ;component;exec;_nr;action;args
step:1;testrest;2;1;fct:xml-rest;action:new
step:2;testrest;3;1,2;fct:json-rest;action:new
# ;;;;;
# testdate only here specified;expect:row 2 is inserted as precond;;;;
_date;01.07.2022;;;;
table:person;_nr;famname;name;birth;sex
testrest:person;1;Brecht;Bert;10.02.1898;m
testrest:person,testcrmdb:person;2;Leon;Donna;28.09.1942;f
# testdate only here specified;expect: no row is inserted as precond;;;;
_date;02.07.2022;;;;
table:object;_nr;objid;descript;objtype;value
testrest:object;1;;cat;animal;100
testrest:object;2;;dog;animal;200
# testdate here and in separate csv specified;;;;;
# expect: both row is inserted as precond;;;;;
_date;03.07.2022;;;;
table:product;_nr;prdid;descript;objtype;factor
testrest:product;1;;first;time;
testrest:product;2;;second;money;