package
0.0.0-20181003211919-798156fdb816
Repository: https://github.com/digitalbitsorg/go.git
Documentation: pkg.go.dev
# 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).
Database returns a connection to the frontier test database
DEPRECATED: use `Horizon()` from test/db package.
DatabaseURL returns the database connection the url any test use when connecting to the history/frontier database
DEPRECATED: use `HorizonURL()` from test/db package.
LoadScenario populates the test databases with pre-created scenarios.
LoadScenarioWithoutHorizon populates the test digitalbits core database a with pre-created scenario.
No description provided by the author
NewStaticMockServer creates a new mock server that always responds with `response`.
OverrideLogger sets the default logger used by frontier to `l`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RestoreLogger restores the default frontier logger after it is overridden using a call to `OverrideLogger`.
No description provided by the author
Start initializes a new test helper object and conceptually "starts" a new test.
StellarCoreDatabase returns a connection to the digitalbits core test database
DEPRECATED: use `StellarCore()` from test/db package.
StellarCoreDatabaseURL returns the database connection the url any test use when connecting to the digitalbits-core database
DEPRECATED: use `StellarCoreURL()` from test/db package.
# Structs
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