Documentation
¶
Overview ¶
Package tests implements a test suite for the Conduit server API.
To use this package, your server must provide a NewServer function which returns a struct that satisfies the Server interface.
You must also arrange for your server's test file to call the suite functions directly. Those are the functions that have the NewServer as a parameter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authentication ¶
func Authentication(newServer TestServer, t *testing.T)
func Profile ¶
func Profile(newServer TestServer, t *testing.T)
func Registration ¶
func Registration(newServer TestServer, t *testing.T)
func Suite ¶
func Suite(newServer TestServer, t *testing.T)
Types ¶
type TestServer ¶
Click to show internal directories.
Click to hide internal directories.