Boost C++ Libraries: Ticket #12597: Report tests with clashing names https://svn.boost.org/trac10/ticket/12597 <p> It's possible right now for two different tests to have the same name. This is a problem for test runners, since there's no way to run a specific test if there are other tests with the same name. Boost.Test should detect tests with clashing names on startup and report an error, similar to how Google Test and Catch do that. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12597 Trac 1.4.3 Igor Akhmetov <igor.akhmetov@…> Wed, 09 Nov 2016 13:18:12 GMT type changed https://svn.boost.org/trac10/ticket/12597#comment:1 https://svn.boost.org/trac10/ticket/12597#comment:1 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Feature Requests</span> </li> </ul> Ticket Raffi Enficiaud Tue, 02 Jan 2018 20:44:42 GMT <link>https://svn.boost.org/trac10/ticket/12597#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12597#comment:2</guid> <description> <p> In branch <code>topic/12597-report-tests-with-clashing-names</code> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Tue, 02 Jan 2018 20:45:12 GMT</pubDate> <title>owner, status changed https://svn.boost.org/trac10/ticket/12597#comment:3 https://svn.boost.org/trac10/ticket/12597#comment:3 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Gennadiy Rozental</span> to <span class="trac-author">Raffi Enficiaud</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Raffi Enficiaud Tue, 02 Jan 2018 20:47:00 GMT milestone changed https://svn.boost.org/trac10/ticket/12597#comment:4 https://svn.boost.org/trac10/ticket/12597#comment:4 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.66.0</span> </li> </ul> Ticket Raffi Enficiaud Thu, 18 Jan 2018 08:27:05 GMT milestone changed https://svn.boost.org/trac10/ticket/12597#comment:5 https://svn.boost.org/trac10/ticket/12597#comment:5 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.66.0</span> → <span class="trac-field-new">Boost 1.67.0</span> </li> </ul> Ticket Raffi Enficiaud Thu, 18 Jan 2018 13:31:12 GMT <link>https://svn.boost.org/trac10/ticket/12597#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12597#comment:6</guid> <description> <p> In develop </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Mon, 22 Jan 2018 13:04:46 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/12597#comment:7 https://svn.boost.org/trac10/ticket/12597#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> On master </p> Ticket anonymous Tue, 24 Apr 2018 17:00:20 GMT <link>https://svn.boost.org/trac10/ticket/12597#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12597#comment:8</guid> <description> <p> I can open another bug report if necessary, but it seems this patch has also made it impossible to have multiple test *suites* of the same name, if defined in multiple translation units. </p> <p> I understand the rationale for ensuring no tests themselves have the same name, but we regularly define tests that belong to the same suite in different translation units using BOOST_AUTO_TEST_SUITE(...). </p> <p> Is there a way we can get the enforcement relaxed to only care about tests and not the test suites? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Tue, 24 Apr 2018 20:26:03 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12597#comment:9 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12597#comment:9</guid> <description> <p> I am sorry about that! I thought I had this covered already. It would be great if you file a new bug report. Thanks! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Mon, 17 Sep 2018 23:00:41 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12597#comment:10 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12597#comment:10</guid> <description> <p> I am not able to reproduce this problem of defining multiple test suites with same name with <code>BOOST_AUTO_TEST_SUITE</code> </p> </description> <category>Ticket</category> </item> </channel> </rss>