-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: Testing
Use Case
As a node driver engineer I want to write less repetitive checks so that we have cleaner testing code.
Dependencies
- mongodb-mock-server
Unknowns
- questions that need to be answered to determine implementation
Acceptance Criteria
Implementation Requirements
- ingest mongodb-mock-server into the testing directory of 4.0
- remap commands with either hello or ismaster to set both to true so either can be used to trigger on the response
- add an underscored property (or something to that effect) that wouldn't clash with anything mongodb would send that indicates the original commandName
Testing Requirements
- refactor all tests in 4.0 to use doc.hello where applicable
Documentation Requirements
- None
Follow Up Requirements
- None