package
1.17.3
Repository: https://github.com/mongodb/mongo-go-driver.git
Documentation: pkg.go.dev

# Functions

MergeOptions combines the given *Options into a single *Options in a last one wins fashion.
NewOptions creates an empty options interface.
ParseTestFile create an array of TestCases from the testJSON json blob.

# Variables

ErrEntityMapOpen is returned when a slice entity is accessed while the EntityMap is open.

# Structs

EntityMap is used to store entities during tests.
Logger is the Sink used to captured log messages for logger verification in the unified spec tests.
Options is the type used to configure tests.
ReadPreference is a representation of BSON readPreference objects in tests.
TestCase holds and runs a unified spec test case.
TestFile holds the contents of a unified spec test file.

# Interfaces

LoggerSkipper is passed to TestCase.Run to allow it to perform logging and skipping operations.