Wai package:tasty-wai
Types and functions for testing wai endpoints using the
tasty testing framework.
Test 'wai' endpoints via Test.Tasty
Helper functions and runners for testing wai endpoints using the Tasty
testing infrastructure.
Run a test case against a
Application.
This module re-exports the functions from 'wai-extra' for constructing
the
Session that is executed against a given endpoint.
A small test case may look like:
import MyApp (app)
testWai app "List Topics" $ do
res <- get "fudge/view"
assertStatus' HTTP.status200 res