[Junior Job] gtest_discover_tests should support filtering
Google Test supports combining --gtest_list_tests
and --gtest_filter
. Therefore, it would make sense if gtest_discover_tests
provided an option to only discover and register tests that match a filter.
This should be fairly easy to implement; the only reason I'm not doing it myself is because I have no need of the feature at this time. I'm filing this for reference purposes, or as a suggestion for someone looking to make a contribution.