Safe Haskell | None |
---|---|
Language | Haskell2010 |
A command line interface for manual integration testing.
cmdln
is parametrized over a platform-specific workflow executor.
- type WorkflowIO_ = WorkflowT IO ()
- data Action
- cmdln :: ExecuteWorkflow -> IO ()
- evalAction :: ExecuteWorkflow -> String -> Maybe (IO ())
- runAction :: ExecuteWorkflow -> Action -> Maybe (IO ())
- help :: IO ()
- parseAction :: String -> Action
- gAction :: Grammar r (Prod r e [Char] Action)
Documentation
type WorkflowIO_ = WorkflowT IO () Source #
cmdln :: ExecuteWorkflow -> IO () Source #
prefix with a number to pause (for that many seconds) before execution.
prefix with "stay" to disable "alt-tab"ing before execution.
e.g.
> help ... > stay paste > copy # (Having selected some text topmost (besides the current) window) > 1000 paste # Wait a second before pasting > quit
evalAction :: ExecuteWorkflow -> String -> Maybe (IO ()) Source #
parseAction :: String -> Action Source #