[DRIVERS-2573] Add invalid, valid-pass and valid-fail tests for $$matchAsRoot and $$matchAsDocument operators Created: 13/Mar/23  Updated: 21/Sep/23

Status: Backlog
Project: Drivers
Component/s: Unified Test Runner
Fix Version/s: None

Type: Spec Change Priority: Major - P3
Reporter: Warren James Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to DRIVERS-1677 Easier debugging with standardized lo... Implementing
Epic Link: Easier debugging with standardized logging
Driver Changes: Needed

 Description   

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.


Generated at Thu Feb 08 08:25:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.