Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-3969

Run istanbul coverage with gulp for unit-tests

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 10.1.0.AM3
    • 10.1.0.AM2
    • platform-installer
    • None

      Current coverage implementation us running with:

      gulp create-electron-symlink
      gulp test
      npm run cover

      Last command generates summary on console and report in ./coverage folder.

      Would be good to have it always running during just.

      gulp test

      I had several attempts to get this done with various modules, but result is always %100 coverage with 0 covered files.

      ----------|----------|----------|----------|----------|----------------|
      File      |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |
      ----------|----------|----------|----------|----------|----------------|
      ----------|----------|----------|----------|----------|----------------|
      All files |      100 |      100 |      100 |      100 |                |
      ----------|----------|----------|----------|----------|----------------|
      
      
      =============================== Coverage summary ===============================
      Statements   : 100% ( 0/0 )
      Branches     : 100% ( 0/0 )
      Functions    : 100% ( 0/0 )
      Lines        : 100% ( 0/0 )
      ================================================================================

              nivologd@gmail.com Denis Golovin (Inactive)
              nivologd@gmail.com Denis Golovin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: