[SERVER-44431] Unit test binaries should accept suite name in addition to filter Created: 05/Nov/19  Updated: 06/Dec/22  Resolved: 05/Nov/19

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

Type: Improvement Priority: Major - P3
Reporter: Louis Williams Assignee: DO NOT USE - Backlog - Dev Tools
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Developer Tools
Participants:

 Description   

Now that we've bundled multiple unit tests into large binaries, it is impossible to run a single suite within a bundled group of unit tests.

It is still possible to filter by test case, but not suite name (i.e. path/to/db_storage_test --filter MyTestCase). This is problematic because certain unit tests suites (i.e. KeyStringBuilderTest) take a very long time to run, and there is no good way to skip them.

I would like to be able to do this to preserve the original behavior:

path/to/db_storage_test --suite DurableCatalogTest



 Comments   
Comment by Louis Williams [ 05/Nov/19 ]

There is already a --suite option that I compeltely missed while filing this ticket.

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