Integration testing flows
Tom Zeller
tzeller at dragonacea.biz
Tue Jun 30 08:11:43 EDT 2015
> On Jun 30, 2015, at 4:36 AM, Etienne Dysli-Metref <etienne.dysli-metref at switch.ch> wrote:
>
> Hi devs,
>
> I'm working on a authentication flow and don't want to do so without a
> good test harness. ;) Outside of the IdP context, I've used the
> SWF-provided testing classes as described in [1] successfully.
> Unfortunately, those are hardwired to JUnit and I'd like to avoid mixing
> it up with TestNG in the IdP. So how do you guys test your flows? Do you
> have support classes to bootstrap a minimal SWF test context, assert
> states are reached, set starting state, trigger events, etc.?
There are some "flow tests" in idp-conf:src/test/java and "browser tests" in java-idp-integration-tests:src/test/java. Those should help, feel free to follow up with more questions.
More information about the dev
mailing list