<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:25:14 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 add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-3050] Report Jest test coverage in Sonarqube</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-3050</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Make Jest test coverage reports the only coverage report that is imported into Sonarqube for Nodejs-based repositories. &lt;/p&gt;</description>
                <environment></environment>
        <key id="82025">FOLIO-3050</key>
            <summary>Report Jest test coverage in Sonarqube</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                            <parent id="13847">FAT-92</parent>
                                    <priority id="10005" iconUrl="https://dev.folio.org/assets/jira-priority/tbd.svg">TBD</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/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="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="5f9abc1eb45b2e007453f423">John Malconian</assignee>
                                                                <reporter accountid="5f9abc1eb45b2e007453f423">John Malconian</reporter>
                                    <labels>
                    </labels>
                <created>Tue, 2 Mar 2021 13:53:43 +0000</created>
                <updated>Tue, 8 Jun 2021 15:58:20 +0000</updated>
                            <resolved>Wed, 10 Mar 2021 19:26:40 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="199401" author="5f9abc1eb45b2e007453f423" created="Mon, 8 Mar 2021 20:38:05 +0000"  >&lt;p&gt;As of today, there are a total of 18 UI/Stripes modules that include some kind of Jest unit tests.   Of these 18, 11 are configured to generate their coverage report in the directory &apos;./artifacts/coverage&apos;.   The remaining 7 are configured to generate their coverage report in the directory &apos;./artifacts/coverage-jest&apos;.   The coverage report directory is defined by the &apos;coverageDirectory&apos; parameter in the &apos;jest.config.js&apos; file located in the root directory of the repos that contain Jest unit tests.    The problem with defining the coverage report directory as &apos;./artifacts/coverage&apos; is that BigTest outputs its coverage report to the same location.  So if repos contain both Jest and some other unit test framework,  we cannot guarantee that the coverage report imported into Sonarqube will be from Jest.    The 11 repos that currently have their Jest coverage directory set to &apos;./artifacts/coverage&apos; are: &lt;/p&gt;

&lt;p&gt;ui-circulation-log&lt;br/&gt;
ui-plugin-bursar-export&lt;br/&gt;
stripes-util&lt;br/&gt;
ui-quick-marc&lt;br/&gt;
ui-remote-storage&lt;br/&gt;
ui-eholdings&lt;br/&gt;
ui-notes&lt;br/&gt;
ui-data-import&lt;br/&gt;
ui-plugin-find-organization&lt;br/&gt;
ui-plugin-find-package-title&lt;br/&gt;
ui-myprofile&lt;/p&gt;

&lt;p&gt;I recommend that Jest unit tests generate their coverage report to a standard, Jest-only location.   &apos;./artifacts/coverage-jest&apos; and configure the CI pipeline to have Sonarqube only analyze the coverage report in that location.    The 11 repos listed above will need to be updated with the new location.   &lt;/p&gt;</comment>
                                                            <comment id="199402" author="5f9abc1eb45b2e007453f423" created="Mon, 8 Mar 2021 21:16:52 +0000"  >&lt;p&gt;PR with needed code changes to shared Jenkins pipeline libs - &lt;a href=&quot;https://github.com/folio-org/jenkins-pipeline-libs/pull/118&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/jenkins-pipeline-libs/pull/118&lt;/a&gt;&lt;br/&gt;
SQ branch of ui-orders with code coverage for Jest only -  &lt;a href=&quot;https://sonarcloud.io/dashboard?id=org.folio%3Aui-orders&amp;amp;branch=FOLIO-3050-test&amp;amp;resolved=false&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sonarcloud.io/dashboard?id=org.folio%3Aui-orders&amp;amp;branch=FOLIO-3050-test&amp;amp;resolved=false&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="199403" author="5f9abc1eb45b2e007453f423" created="Wed, 10 Mar 2021 19:26:40 +0000"  >&lt;p&gt;I&apos;ve reconfigured the coverage report path of those 11 or so repos and merged changes. &lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10014" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue key="$xmlutils.escape($text)">UI tests replacement with RTL/Jest/new BigTest version</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10063" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>PO Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02epr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1991">DevOps Sprint 109</customfieldvalue>
    <customfieldvalue id="1881">DevOps Sprint 108</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>