package
0.0.0-20230925091837-55f7a6b23beb
Repository: https://github.com/xdbfoundation/go.git
Documentation: pkg.go.dev
# Packages
Package db provides helpers to connect to test databases.
lint:file-ignore U1001 Ignore all unused code, this is only used in tests.
No description provided by the author
Package transactions offers common infrastructure for testing Transactions.
# Functions
Context provides a context suitable for testing in tests that do not create a full App instance (in which case your tests should be using the app's context).
No description provided by the author
NewStaticMockServer creates a new mock server that always responds with `response`.
No description provided by the author
No description provided by the author
ResetFrontierDB sets up a new frontier database with empty tables.
Start initializes a new test helper object, a new instance of log, and conceptually "starts" a new test.
# Structs
Assertions provides an assertions helper.
StaticMockServer is a test helper that records it's last request.
T provides a common set of functionality for each test in frontier.
# Interfaces
No description provided by the author