-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
Programmability 2026-03-02, Programmability 2023-03-30
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description / Motivation
Today we only have ASSERT_BSONOBJ_EQ (and related variants) for comparing BSONObj instances in tests. This causes the test to abort on first mismatch, which is inconvenient when:
- You want to check multiple BSON comparisons in a single test and see all mismatches.
- You’re converting ASSERT-based tests to EXPECT-based style for consistency with other gtest-style expectations.
A non-fatal EXPECT_BSONOBJ_EQ helper would be nice.