Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1570

Create MockTopology for unit testing command construction

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Native, Testing
    • Labels:
      None

      Often times when we are using the mock server, we are simply checking that commands are properly constructed (f.ex NODE-1541). We can make these types of tests much easier by mocking out the underlaying Topology so make sure that commands are properly constructed before they are being sent to mongodb-core.

            Assignee:
            Unassigned Unassigned
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: