-
Sep 1st, 2009, 07:15 PM
#1
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.
-
Sep 2nd, 2009, 01:29 PM
#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...
-
Sep 2nd, 2009, 02:46 PM
#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.
-
Oct 29th, 2009, 10:25 AM
#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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules