Unit Test Processing
A unit test is an element "test" in a provtest file.
All the "inject" elements are executed first, followed by the "action"
elements. An "inject" element triggers :
An action can contain several sub-elements of the same type (several "create", several "invoke"). Those sub-elements must be given exactly in the order given in provtest schema. Some infraction of that rule may not be detected by the libxml2 at validation time, and may result in a sub-element being executed before some other while it is declared after.
<test name="test"> <action> <createSo orderId="1"/> <invoke object="2" operation="some_operation"/> <createSo orderId="2"/> </action> </test>
Copyright © Cloud Software Group, Inc. All rights reserved.