[SERVER-66928] Investigate golden testing framework for translation tests Created: 01/Jun/22  Updated: 29/Oct/23  Resolved: 30/Sep/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Hana Pearlman Assignee: Militsa Sotirova
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Related
related to SERVER-62328 Exhaustive testing for supported matc... Closed
related to SERVER-62329 Exhaustive testing for simple project... Closed
related to SERVER-62330 ABT testing infrastructure Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2022-08-22, QO 2022-09-05, QO 2022-09-19, QO 2022-10-03
Participants:
Linked BF Score: 62

 Description   

Many of the tests already use string comparison (of explain output) to verify ABT translation. Using the golden testing framework would give the same coverage while making adding tests and updating assertions easier (using tools to diff expected/actual output).

We could port over the existing agg to ABT tests to use the golden testing framework, and we can consider the golden testing framework for the match/project tests.



 Comments   
Comment by Githook User [ 29/Sep/22 ]

Author:

{'name': 'Militsa Sotirova', 'email': 'militsa.sotirova@mongodb.com', 'username': 'militsasotirova'}

Message: SERVER-66928 convert ABT pipeline tests to golden testing
Branch: master
https://github.com/mongodb/mongo/commit/0b24ce9b359574b8f695fce8b4d9b80fdcaa4a10

Comment by Hana Pearlman [ 01/Jun/22 ]

Filed this as a separate ticket from SERVER-62330 because we may decide to do both. It may be useful to verify part of the structure of an ABT (rather than the whole contents) in some unit tests for this project or future projects.

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