Boost C++ Libraries: Ticket #3303: --run_test arbitrary depth matching https://svn.boost.org/trac10/ticket/3303 <p> Hi Gennady, </p> <p> That's awesome that you have added the ability to run individual tests and suites by name. However, while using this feature, I found myself keeping adding "*/" before the test name and rerunning the test program until it finally matches the nesting level and run the test I need (because usually I just see the test I want to run in the source code and I don't really care how deep is it in the hierarchy). </p> <p> Could you please add a possibility to match "any" nesting level? <br /> I would suggest double-star syntax: <br /> </p> <blockquote> <p> --run_test=<strong>/my_test <br /> </strong></p> </blockquote> <p> will match "my_test", "s1/my_test", "s1/s2/s3/s4/my_test" etc. <br /> </p> <blockquote> <p> --run_test=s1/<strong>/my_test <br /> </strong></p> </blockquote> <p> will match "s1/my_test", "s1/s2/s3/s4/my_test" etc, but will not match "my_test" and "s2/my_test". </p> <p> Thanks, <br /> Maxim </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3303 Trac 1.4.3 Gennadiy Rozental Sat, 05 Sep 2009 09:38:42 GMT <link>https://svn.boost.org/trac10/ticket/3303#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3303#comment:1</guid> <description> <p> do you want <strong>/a/b to filter out test case b in all sub-testsuites a on any level either? </strong></p> </description> <category>Ticket</category> </item> <item> <author>Maxim Yanchenko <Maxim.Yanchenko@…></author> <pubDate>Sun, 06 Sep 2009 14:48:58 GMT</pubDate> <title>cc set https://svn.boost.org/trac10/ticket/3303#comment:2 https://svn.boost.org/trac10/ticket/3303#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">Maxim.Yanchenko@…</span> added </li> </ul> <p> yes, please, as well as <strong>/a*/</strong>/b and similar, for a case when there are many tests with name "b" (say "conversion_test"), and I need one which is "somewhere" inside suite with name starting with "a" ("market_data"), no matter how many sub-suites are between them (including zero). </p> <p> To me, it would be enough just to have a regexp to match versus the whole test path, but I understand it may add an unnecessary dependency on Boost.Regex which is probably undesirable. </p> Ticket Gennadiy Rozental Mon, 17 Oct 2011 11:21:09 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3303#comment:3 https://svn.boost.org/trac10/ticket/3303#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> I've introduced a notion of a label and an ability to run by label. I think this will be more natural in comparison to what you suggested. </p> Ticket