Yesod.Test

Declaring and running your test suite

runTests

describe

it

type SpecsConn conn

type OneSpec conn

Making requests

post

post_

get

get_

doRequest

doRequestHeaders

byName

fileByName

byLabel

fileByLabel

addNonce

addNonce_

Running database queries

runDBRunner

Assertions

assertEqual

assertHeader

assertNoHeader

statusIs

bodyEquals

bodyContains

htmlAllContain

htmlAnyContain

htmlCount

Utils for debugging tests

printBody

printMatches

Utils for building your own assertions

htmlQuery

parseHTML

withResponse