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.

30 lines
1.2 KiB

2 years ago
# A: keywords to control;B: value ;;;;
option:description;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;_sender;famname;name;birth;sex
testrest:person;1;firma;Brecht;Bert;10.02.1898;m
testrest:person,testcrmdb:person;2;firma;Leon;Donna;28.09.1942;f
table:adress;_nr;city;street;zip;
testrest:adress;1;Kiel;Foerdestr. 4;23123;
testrest:adress,testcrmdb:adress;2;Bonn;Bundesallee 16;52321;
2 years ago
# testdate only here specified;expect: no row is inserted as precond;;;;
_date;02.07.2022;;;;
table:object;_nr;_pos;objid;descript;objtype;value
testrest:object;1;4;;cat;animal;100
testrest:object;1;5;;dog;animal;110
testrest:object;2;1;;dog;animal;200
2 years ago
# testdate here and in separate csv specified;;;;;
# expect: both row is inserted as precond;;;;;
_date;03.07.2022;;;;
table:product;_nr;_pos;prdid;descript;objtype;factor
testrest:product;1;4;;first;time;
testrest:product;1;5;;first;clime;
testrest:product;2;1;;second;money;