quickcheck-webdriver-0.1.0.7: Utilities for using WebDriver with QuickCheck

Copyright(c) 2014 Christian Brink
LicenseMIT
MaintainerChristian Brink
Safe HaskellNone
LanguageHaskell2010

Test.QuickCheck.Monadic.WebDriver

Description

Example usage: > import Test.QuickCheck > import Test.QuickCheck.Monadic (run, pick, assert) > import Test.WebDriver prop_Example = monadicWD context $ do url :: String <- pick $ elements ["http://www.yesodweb.com", "http://snapframework.com/"] run $ openPage url assert True runIO $ putStrLn $ "We've just evaluated a `Gen a` using pick and a `WD ()` using run, then asserted a that a property holds using assert." where context = SessionParams allCaps (return ())

Synopsis

Documentation

monadicWD :: Context -> PropertyM WD a -> Property Source

Patterned after monadicIO (and ioProperty).