Skip to Content

Cannot create node.js test configuration on HXE

I've installed HXE via VM. At the moment I follow the tutorials from HANA Developer Guide. In chapter 2.1.3.2 of the tutorials a node.js run configuration should be created.

Create a new test run-configuration for your Node.js application module tinyjs.
a. Create a new test run-configuration.
Choose   Run   Run Configurations   in the tool bar.
b. In the Run Configurations dialog, choose [+], select Node.js Test in the drop-down list.
c. Type the name test and choose Save and Run.
XSUnit runs your Node.js module tinyjs in XS JavaScript test mode. The test finds the sampleTest.xsjslib file because it matches the test file pattern “*test” defined in the run configuration you created. The Node.js Test Execution pane displays the results of the test.

I can't find the "Node.js Test" entry in a drop-down list. There is only the entry "Node.js Application".

Is this missing in HXE?

Regards Helmut

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 06, 2016 at 03:29 PM

    Hi Helmut,

    in this version of HXE, tests are just a special type of Application. You will see a "Testing" tab in the Run Configuration that allows you to trigger test result collection. The "SAP HANA Developer Guide for SAP HANA XS Advanced" at SAP HANA Platform (Core) – SAP Help Portal Page should document this properly. Not sure which version of documentation you are referring to.

    HTH,

    Christoph

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Christoph,

      I'm following this Guide. At page 46 you can see the following:

      1. Create a new test run-configuration for your Node.js application module tinyjs.

      a. Create a new test run-configuration.

      Choose Run Run Configurations in the tool bar.

      b. In the Run Configurations dialog, choose [+], select Node.js Test in the drop-down list.

      c. Type the name test and choose Save and Run.

      My version is a bit older than the one you mentioned but yours contains the same text.

      Regards Helmut

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.