Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. yesodSpecWithSiteGenerator :: YesodDispatch site => IO site -> YesodSpec site -> Spec

    yesod-test Yesod.Test

    Same as yesodSpec, but instead of taking already built site it takes an action which produces site for each test.

  2. yesodSpecWithSiteGeneratorAndArgument :: YesodDispatch site => (a -> IO site) -> YesodSpec site -> SpecWith a

    yesod-test Yesod.Test

    Same as yesodSpecWithSiteGenerator, but also takes an argument to build the site and makes that argument available to the tests.

  3. package yesod-persistent

    Some helpers for using Persistent from Yesod. API docs and the README are available at http://www.stackage.org/package/yesod-persistent

  4. yesodClientManager :: YesodClient site -> !Manager

    sydtest-yesod Test.Syd.Yesod

    The Manager to make the requests

  5. yesodClientSetupFunc :: YesodDispatch site => Manager -> site -> SetupFunc (YesodClient site)

    sydtest-yesod Test.Syd.Yesod

    No documentation available.

  6. yesodClientSite :: YesodClient site -> !site

    sydtest-yesod Test.Syd.Yesod

    The site itself

  7. yesodClientSiteURI :: YesodClient site -> !URI

    sydtest-yesod Test.Syd.Yesod

    The base URI that the site is running on

  8. yesodClientStateCookies :: YesodClientState -> !CookieJar

    sydtest-yesod Test.Syd.Yesod

    The cookies to pass along

  9. yesodClientStateLast :: YesodClientState -> !Maybe (Request, Response ByteString)

    sydtest-yesod Test.Syd.Yesod

    The last request and response pair

  10. yesodE2ESpec :: URI -> YesodSpec (E2E site) -> Spec

    sydtest-yesod Test.Syd.Yesod

    Run an end-to-end yesod test suite against a remote server at the given URI. If you would like to write tests that can be run against both a local and a remote instance of your site, you can use the following type:

    mySpec :: (Yesod site, RedirectUrl site (Route App)) => YesodSpec site
    mySpec = do
    it "responds 200 OK to GET HomeR" $ do
    get HomeR
    statusIs 200
    

Page 10 of many | Previous | Next