Documentation ¶
Overview ¶
Package testdata provides utility functions for filling a database with test data. These functions usually take a *testing.T and a pgxutil.DB value. Each function inserts some amount of data into the db for further tests. If the insert fails, the test is aborted with an error message. If the insert is successful, a function may return some data that allows you to test against the inserted data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidUUID = "Hello-World"
InvalidUUID is a string that is not a valid UUID.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.