<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:04:24 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CXX-1938] Catch does not guarantee running at least one test SECTION per TEST_CASE run</title>
                <link>https://jira.mongodb.org/browse/CXX-1938</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;In some of our tests, we assume that Catch will run at least one SECTION on every run through a test case, and we put SECTION-dependent code at the end of the test case (for example, having many SECTIONS that each call a method with different options, then REQUIREing at the end of the TEST_CASE that the operation got called).&lt;/p&gt;

&lt;p&gt;However, Catch may sometimes run through a TEST_CASE without iterating any of its sections.&#160; Apparently this used to be the default behavior and happened on every run; now it only happens occasionally, when the test framework can&apos;t figure out if it has already iterated all SECTIONs.&#160; In any case, running exactly one SECTION per test case run is not a guarantee that Catch makes.&#160; See this github thread:&#160;&lt;a href=&quot;https://github.com/catchorg/Catch2/issues/552&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/catchorg/Catch2/issues/552&lt;/a&gt;&#160;&lt;/p&gt;

&lt;p&gt;We will need to change our tests so they don&apos;t assert things outside of SECTIONs that rely upon a SECTION having been run.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1145105">CXX-1938</key>
            <summary>Catch does not guarantee running at least one test SECTION per TEST_CASE run</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="samantha.ritter@mongodb.com">Samantha Ritter</assignee>
                                    <reporter username="samantha.ritter@mongodb.com">Samantha Ritter</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Feb 2020 19:58:09 +0000</created>
                <updated>Sat, 28 Oct 2023 11:27:07 +0000</updated>
                            <resolved>Tue, 18 Feb 2020 17:52:54 +0000</resolved>
                                                    <fixVersion>3.5.0</fixVersion>
                                    <component>Testing</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2882745" author="xgen-internal-githook" created="Tue, 18 Feb 2020 17:51:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;samantharitter&apos;, &apos;username&apos;: &apos;samantharitter&apos;, &apos;email&apos;: &apos;samantha.ritter@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1938&quot; title=&quot;Catch does not guarantee running at least one test SECTION per TEST_CASE run&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1938&quot;&gt;&lt;del&gt;CXX-1938&lt;/del&gt;&lt;/a&gt; Move test assertions inside SECTIONs&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/b1157ffeaa45740ad6e72e5778421e41bb1b20e7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/b1157ffeaa45740ad6e72e5778421e41bb1b20e7&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hwe6rr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>