<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12352</bug_id>
          
          <creation_ts>2017-11-15 20:27:11 +0000</creation_ts>
          <short_desc>Test node.js functionality</short_desc>
          <delta_ts>2020-05-17 09:36:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>4.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>jeanmarie.lemetayer</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78223</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-11-15 20:27:11 +0000</bug_when>
    <thetext>We have code to fetch and package node.js applications (as well as code in recipetool to generate recipes to do so). To ensure that code continues to work we should add regression tests. These will likely need to bring in meta-oe in order to provide a nodejs recipe since none exists in OE-Core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87229</commentid>
    <comment_count>1</comment_count>
    <who name="Jean-Marie Lemetayer">jeanmarie.lemetayer</who>
    <bug_when>2020-05-17 09:36:05 +0000</bug_when>
    <thetext>This is fixed in the master.

Tests have been added for both fetchers: npm and npmsw

         - bb.tests.fetch.NPMTest.test_npm
         - bb.tests.fetch.NPMTest.test_npm_bad_checksum
         - bb.tests.fetch.NPMTest.test_npm_destsuffix_downloadfilename
         - bb.tests.fetch.NPMTest.test_npm_mirrors
         - bb.tests.fetch.NPMTest.test_npm_no_network_no_tarball
         - bb.tests.fetch.NPMTest.test_npm_no_network_with_tarball
         - bb.tests.fetch.NPMTest.test_npm_package_invalid
         - bb.tests.fetch.NPMTest.test_npm_package_none
         - bb.tests.fetch.NPMTest.test_npm_premirrors
         - bb.tests.fetch.NPMTest.test_npm_registry_alternate
         - bb.tests.fetch.NPMTest.test_npm_registry_invalid
         - bb.tests.fetch.NPMTest.test_npm_registry_none
         - bb.tests.fetch.NPMTest.test_npm_version_invalid
         - bb.tests.fetch.NPMTest.test_npm_version_latest
         - bb.tests.fetch.NPMTest.test_npm_version_none

         - bb.tests.fetch.NPMTest.test_npmsw
         - bb.tests.fetch.NPMTest.test_npmsw_bad_checksum
         - bb.tests.fetch.NPMTest.test_npmsw_destsuffix
         - bb.tests.fetch.NPMTest.test_npmsw_dev
         - bb.tests.fetch.NPMTest.test_npmsw_mirrors
         - bb.tests.fetch.NPMTest.test_npmsw_no_network_no_tarball
         - bb.tests.fetch.NPMTest.test_npmsw_no_network_with_tarball
         - bb.tests.fetch.NPMTest.test_npmsw_npm_reusability
         - bb.tests.fetch.NPMTest.test_npmsw_premirrors

Also there is some tests for devtool and recipetool:

     - devtool.DevtoolAddTests.test_devtool_add_npm

     - recipetool.RecipetoolTests.test_recipetool_create_npm</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>