Announcement Announcement Module
Collapse
No announcement yet.
Firing validators with flow tests Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Firing validators with flow tests

    I am using the AbstractXmlFlowExecutionTests class to do some webflow testing. I don't see my validator being fired. Does anyone know if validators are properly called when using AbstractXmlFlowExecutionTests for flow testing? Thanks for any info.

  • #2
    I am getting closer to something. I see that MockViewFactoryCreator is used in the test environment and it creates MockViews that do not call validators on processUserEvent. I'm trying to see if there is a way I can hook into this...

    Comment


    • #3
      Nick,
      If you find a solution it would be great if you could share it here!

      Since we are trusting the flow to kick off those validators in the right spot, it makes sense to me that the flow execution tests should be able to simulate that to verify the integration.

      Comment


      • #4
        ditto. This has been a thorn with using webflow for me and something I've been meaning to look at to develop some sort of workaround/solution, but just haven't found the time.

        Any knowledge you can share would be greatly appreciated.

        Bob

        Comment

        Working...
        X