Loading a Flow

It is sometimes needed to explicitly load a flow within a test.

Any Declared Flow

Use the "loadFlow" action with the flow name as "flow" attribute value.

<test name="action_clean_flow">
		<flow>flow1</flow>
		<description>
			Test action clean on domain "flow" and action loadFlow.
			The clean action on domain "flow" only deletes modules defined in the flow.
		</description>
		<action>
			<clean domain="flow"/>
			<loadFlow flow="flow2"/>
			<checkObject object="getFh"/>
		</action>
	</test>

Flow Attached to the Test

Just use the action "loadFlow" without attributes.

<test name="action_clean_flow">
		<flow>flow1</flow>
		<description>
		Test action clean on domain "flow" and action loadFlow.
		The clean action on domain "flow" only deletes modules defined in the flow.
		</description>
		<action>
			<!-- Should reload flow flow1-->
			<clean domain="flow"/>
			<loadFlow/>
			<checkObject object="getSo"/>
		</action>
	</test>