Yesod.Test

Declaring and running your test suite

yesodSpec

type YesodSpec site

yesodSpecWithSiteGenerator

yesodSpecApp

type YesodExample site

data YesodExampleData site

data YesodSpecTree site

ydescribe

yit

Making requests

get

post

postBody

request

addRequestHeader

setMethod

addPostParam

addGetParam

addFile

setRequestBody

type RequestBuilder site

setUrl

Adding fields by label

byLabel

fileByLabel

CSRF Tokens

addToken

addToken_

addNonce

addNonce_

addTokenFromCookie

addTokenFromCookieNamedToHeaderNamed

Assertions

assertEqual

assertHeader

assertNoHeader

statusIs

bodyEquals

bodyContains

htmlAllContain

htmlAnyContain

htmlNoneContain

htmlCount

Grab information

getTestYesod

getResponse

getRequestCookies

Debug output

printBody

printMatches

Utils for building your own assertions

htmlQuery

parseHTML

withResponse