-
Type: Spec Change
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Component/s: Unified Test Runner
Summary
The spec changes added in schema version 1.13 which add the $$matchAsRoot (relevant spec) and $$matchAsDocument (relevant spec) operators did not add corresponding invalid, valid-fail and valid-pass tests in order to provide drivers a point of comparison when implementing this spec change.
Motivation
Who is the affected end user?
Driver engineers
How does this affect the end user?
N/A
Is this issue urgent?
No
Is this ticket required by a downstream team?
No
Is this ticket only for tests?
Yes
Acceptance Criteria
Add invalid, valid-pass and valid-fail tests which make use of the the new $$matchAsDocument and $$matchAsRoot operators. I would recommend that the tests we add make use of common drivers features, such as simple CRUD operations, rather than the logging capabilities they were added along with.
- is related to
-
DRIVERS-1677 Easier debugging with standardized logging: logging specification
- Implementing
-
DRIVERS-3033 Logging tests should allow durationMS to be a float
- Closed
- related to
-
PHPLIB-1577 Matches constraint should never consider strings equal to numeric types
- Backlog
- split to
-
NODE-6476 Add valid-pass and valid-fail tests for $$matchAsRoot and $$matchAsDocument operators
- Needs Triage
-
CDRIVER-5777 Add valid-pass and valid-fail tests for $$matchAsRoot and $$matchAsDocument operators
- Backlog
-
CSHARP-5381 Add valid-pass and valid-fail tests for $$matchAsRoot and $$matchAsDocument operators
- Backlog
-
CXX-3142 Add valid-pass and valid-fail tests for $$matchAsRoot and $$matchAsDocument operators
- Backlog
-
GODRIVER-3400 Add valid-pass and valid-fail tests for $$matchAsRoot and $$matchAsDocument operators
- Backlog
-
JAVA-5672 Add valid-pass and valid-fail tests for $$matchAsRoot and $$matchAsDocument operators
- Backlog
-
RUBY-3572 Add valid-pass and valid-fail tests for $$matchAsRoot and $$matchAsDocument operators
- Backlog
-
RUST-2075 Add valid-pass and valid-fail tests for $$matchAsRoot and $$matchAsDocument operators
- Backlog
-
MOTOR-1392 Add valid-pass and valid-fail tests for $$matchAsRoot and $$matchAsDocument operators
- Closed
-
PHPLIB-1569 Add valid-pass and valid-fail tests for $$matchAsRoot and $$matchAsDocument operators
- Closed
-
PYTHON-4925 Fix testing bugs in $$matchAsRoot and $$matchAsDocument operators
- Closed