Suggestions regarding how to test flows ?
Cantor, Scott
cantor.2 at osu.edu
Thu Jan 16 16:48:25 EST 2014
On 1/16/14, 11:36 AM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:
>I guess my question is : do we want to test flows by (a) extending the
>Spring test class according to the Web Flow docs or (b) executing
>flows manually like we do in idp-attribute-cli ?
>
>In the end, I do not think there is much difference, because we need
>to create an application context and execute a flow outside of the
>container.
I thought I was using the test class in the CLI, which class are you
thinking of?
>I can spend time figuring out the Spring provided test classes, but
>before I do, should I ?
>
>A follow up question is : if anyone has experience writing unit or
>integration tests for flows, let me know...
I have a few tests that execute multiple actions, but I suppose that's not
much different than just wiring up a real flow like the CLI does.
-- Scott
More information about the dev
mailing list