Announcement Announcement Module
Collapse
No announcement yet.
Unit testing flows with continuation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unit testing flows with continuation

    Hi all,

    I am currently defining the usual "user registration"-flow for a website. I would like to use the flowExecutionId in the confirmation e-mail to continue (or cancel) registratien using the link that is sent to the user in the e-mail.

    My unit test (using AbstractXmlFlowExecutionTests) works fine until I try to incorporate the flowExecutionKey.

    How do I get a flowExecutionKey into the scope of my flow under test?

    Does the test use a FlowRepository which I can cahnge to generate executionIds?

    Or would it be better to simply add a fake flowExecutionId to the flowScope?

    Thanks for your help
Working...
X