-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: tests
-
Labels:None
For each operation in JSON tests, we run the method json_test_operation which conditionally checks the operation name, runs the appropriate method, .e.g, count or insertOne, and returns a boolean on whether the operation's method succeeded or failed.
As of now, we don't handle the boolean returned by json_test_operation at all. Instead, we assume that the operation's method, e.g., insertOne will assert that its operation succeeded. If an operation's method were to return false or just not assert anything we would not know. The returned value of json_test_operation should be checked.