-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Fully Compatible
-
Repl 2020-11-16, Repl 2020-11-30
It's common to match the fields of a request, like
{ "find": "oplog.rs" }, we need to make that easier. We could integrate query expression matcher to the mock framework. It may look like
mock.expect(BSON("find" << "oplog.rs"), <response>).times(1);