MFlow-0.2.0.6: Web app server for stateful processes with safe, composable user interfaces.
MFlow.Forms.Test
Description
Synopsis
class Response a whereSource
Methods
response :: IO aSource
Instances
runTest :: [(Int, Flow)] -> IO ()Source
run a list of flows with a number of simultaneous threads
ask :: (Response a, MonadIO m, Functor m, FormInput v, Typeable v) => View v m a -> FlowM v m aSource
a simulated ask that generate simulated user responses of the type expected
it is a substitute of ask from MFlow.Forms for testing purposes.
ask