Helpers

HTTP API test helper aka tdhttp

The tdhttp package helper allows to easily test HTTP APIs.

It handles any kind of API, with some specific features for the routes accepting and/or returning JSON or XML.

All known web frameworks are handled:

See examples of use in tdhttp package example section, in FAQ or expand the one below:

Main example

Tests suite helper aka tdsuite

The package tdsuite adds tests suite feature to go-testdeep in a non-intrusive way, but easily and powerfully.

Helpers utils aka tdutil

To write helpers, some commonly used functions are shared in tdutil package.