# Functions
AddCompressorToURI checks for the environment variable indicating that the tests are being run with compression enabled.
AddOptionsToURI appends connection string options to a URI.
AddServerlessAuthCredentials will attempt to construct the serverless auth credentials for a URI.
AddTestServerAPIVersion adds the latest server API version in a ServerAPIOptions to passed-in opts.
AddTLSConfigToURI checks for the environmental variable indicating that the tests are being run on an SSL-enabled server, and if so, returns a new URI with the necessary configuration.
ColName gets a collection name that should be unique to the currently executing test.
CompareVersions compares two version number strings (i.e.
ConnString gets the globally configured connection string.
DBName gets the globally configured database name.
No description provided by the author
No description provided by the author
MongoDBURI will construct the MongoDB URI from the MONGODB_URI environment variable for testing.
MonitoredTopology returns a new topology with the command monitor attached.
Topology gets the globally configured topology.
TopologyWithCredential takes an "options.Credential" object and returns a connected topology.