[SERVER-44947] Allow test execution selection by test source file name Created: 04/Dec/19  Updated: 29/Oct/23  Resolved: 07/Jan/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3.3

Type: Improvement Priority: Major - P3
Reporter: Mathew Robinson (Inactive) Assignee: Mathew Robinson (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Sprint: Dev Platform 2019-12-30, Dev Platform 2020-01-13
Participants:
Linked BF Score: 50

 Description   

We provide a mechanism for building and executing unit tests via the @test_name syntax. As part of SERVER-41809 we grouped the tests into fewer binaries to improve the Evergreen build times. While this improved the evergreen experience it made the developer experience worse because you now have to read the build system to find what binary your unittest got grouped into.

We should create the execution target and create matching @source_file aliases to execute it for all of the source files in a test. This way as a developer I can use my known source file name to just execute the binary without worrying about how it got grouped.



 Comments   
Comment by Githook User [ 13/Jan/20 ]

Author:

{'name': 'Mathew Robinson', 'email': 'mathew.robinson@mongodb.com', 'username': 'chasinglogic'}

Message: SERVER-44947 Wire test execution targets into Ninja generator
Branch: master
https://github.com/mongodb/mongo/commit/a46da9f6b3e2b94f98823888e7376543d294ea4a

Comment by Githook User [ 09/Jan/20 ]

Author:

{'name': 'Mathew Robinson', 'email': 'mathew.robinson@mongodb.com', 'username': 'chasinglogic'}

Message: SERVER-44947 Make test lists depend on the tests
Branch: master
https://github.com/mongodb/mongo/commit/af8105297aca91d64cc0f8da61aa586f8260443a

Comment by Githook User [ 07/Jan/20 ]

Author:

{'name': 'Mathew Robinson', 'email': 'mathew.robinson@mongodb.com', 'username': 'chasinglogic'}

Message: SERVER-44947 Allow test execution selection by test source file name
Branch: master
https://github.com/mongodb/mongo/commit/16207c4fa75a8045f24126d768b0ba2e1ce32b1f

Comment by Githook User [ 06/Jan/20 ]

Author:

{'name': 'Mathew Robinson', 'email': 'mathew.robinson@mongodb.com', 'username': 'chasinglogic'}

Message: SERVER-44947 Allow test execution selection by test source file name
Branch: master
https://github.com/mongodb/mongo/commit/7099b048c2a6f4b5900c32e46ef6ac6269449a42

Generated at Thu Feb 08 05:07:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.