[GODRIVER-276] Implement a testing framework Created: 07/Mar/18  Updated: 28/Oct/23  Resolved: 03/Sep/19

Status: Closed
Project: Go Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: 1.2.0

Type: New Feature Priority: Major - P3
Reporter: Kristofer Brandow (Inactive) Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by GODRIVER-1256 Assert that test closes all connectio... Closed
Related
related to GODRIVER-420 integration tests should detect topol... Closed
related to GODRIVER-425 move highlevel integration tests to s... Closed
Epic Link: Robust Testing Framework

 Description   

Design and implement a testing framework that augments Go's testing package with necessary helpers, similar to those in testify. This framework should also enabling skipping tests depending on the version of the server that the tests are being run against. This framework should output errors in standard go test format so that tools, such as vim-go can properly parse the output.



 Comments   
Comment by Githook User [ 03/Sep/19 ]

Author:

{'username': 'divjotarora', 'email': 'divjot.arora@10gen.com', 'name': 'Divjot Arora'}

Message: Implement a testing framework.

  • Create the mtest framework in mongo/integration/mtest
  • Add helpers to create mock responses

GODRIVER-276
GODRIVER-420

Change-Id: I314b81e5474feda0457965a869f90989b32ec0ca
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/22646d953d8106e567b1da9aab98b627a2fb204f

Generated at Thu Feb 08 08:33:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.