-
Type: Task
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Tests
-
None
-
Not Needed
-
PHPLIB-410 introduced a MongoDB\Tests\SpecTests\DocumentsMatchConstraint class, which is used by the spec test runners. This should be suitable for the assertMatchesDocument() method in our base test class, MongoDB\Tests\TestCase.
When implementing this, note the TODO itsems in DocumentsMatchConstraint regarding sortKeys and optimizing document comparisons by comparing extended JSON strings.
- is related to
-
PHPLIB-410 Implement test runner for command monitoring spec tests
- Closed