Discover Packages
github.com/jackgris/goscrapy
business
dbtest
package
Version:
v0.0.0-...-43a32cb
Opens a new window with list of versions in this module.
Published: May 17, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
Success = "\u2713"
Failed = "\u2717"
)
Success and failure markers.
NewUnit creates a test database inside a Docker container. It creates the
required table structure but the database is otherwise empty. It returns
the database to use as well as a function to call at the end of the test.
StartDB starts a database instance.
StopDB stops a running database instance.
Test owns state for running and shutting down tests.
NewIntegration creates a database, seeds it, constructs an authenticator.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.