Change: swap execution order of <script> and <dataSource> in <setUp>

2 views
Skip to first unread message

Antonio García Domínguez

unread,
Feb 2, 2012, 1:34:26 PM2/2/12
to bpel...@googlegroups.com
Hi everyone,

I have swapped the execution order of the Velocity setup script (<script> element) and the data source (<dataSource>) inside the <setUp> block of a test case.

Previously, the setup script would be executed and then the data source would add its own variables on top of the resulting Velocity context. However, I thought it would be more useful if the setup script was executed after the current row of data source was loaded, so it could access its variables. We needed this to skip certain partner tracks/activities in the test case template if their mockups were not going to be invoked.

I've pushed the change to bpelunit/master and bluezio/master, as usual. All tests passed :-).

-- Antonio

Daniel Luebke

unread,
Feb 2, 2012, 3:19:22 PM2/2/12
to BPELUnit
Hi Antonio,

sounds sensible. Are now all your changes in bpelunit/master?

Daniel

On Feb 2, 7:34 pm, Antonio García Domínguez <nyoesc...@gmail.com>
wrote:

Antonio García Domínguez

unread,
Feb 2, 2012, 5:17:21 PM2/2/12
to bpel...@googlegroups.com
Hi Daniel,

On 2 February 2012 21:19, Daniel Luebke <daniel...@gmail.com> wrote:
> sounds sensible. Are now all your changes in bpelunit/master?

Yes, they are :-).

Antonio

Reply all
Reply to author
Forward
0 new messages