[jbosstools-issues] [JBoss JIRA] (JBDS-3969) Run istanbul coverage with gulp for unit-tests

Denis Golovin (JIRA) issues at jboss.org
Tue Jul 19 19:14:00 EDT 2016


     [ https://issues.jboss.org/browse/JBDS-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Golovin updated JBDS-3969:
--------------------------------
    Description: 
Current coverage implementation us running with:

{code}gulp create-electron-symlink
gulp test
npm run cover{code}

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

Would be good to have it always running during just.

{code}gulp test{code}

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

{code}----------|----------|----------|----------|----------|----------------|
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 )
================================================================================{code}

  was:
Current coverage implementation us running with:

{code}gulp create-electron-symlink
gulp test
npm run cover{code}

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

Would be good to have it always running during just.

{code}gulp test{code}

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



> Run istanbul coverage with gulp for unit-tests
> ----------------------------------------------
>
>                 Key: JBDS-3969
>                 URL: https://issues.jboss.org/browse/JBDS-3969
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Task
>          Components: platform-installer
>    Affects Versions: 10.1.0.AM2
>            Reporter: Denis Golovin
>            Assignee: Denis Golovin
>             Fix For: 10.1.0.AM3
>
>
> Current coverage implementation us running with:
> {code}gulp create-electron-symlink
> gulp test
> npm run cover{code}
> Last command generates summary on console and report in ./coverage folder.
> Would be good to have it always running during just.
> {code}gulp test{code}
> I had several attempts to get this done with various modules, but result is always %100 coverage with 0 covered files.
> {code}----------|----------|----------|----------|----------|----------------|
> 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 )
> ================================================================================{code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list