[jira] [Updated] (IGNITE-7895) Web console: revise unit tests

2018-03-13 Thread Alexey Kuznetsov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Kuznetsov updated IGNITE-7895:
-
Component/s: wizards

> Web console: revise unit tests
> --
>
> Key: IGNITE-7895
> URL: https://issues.apache.org/jira/browse/IGNITE-7895
> Project: Ignite
>  Issue Type: Improvement
>  Components: wizards
>Reporter: Alexander Kalinin
>Assignee: Alexey Kuznetsov
>Priority: Major
> Fix For: 2.5
>
>
> *The issue:*
> Current web console unit tests run inside Karma and PhantomJS, but this setup 
> adds unnecessary overhead of running simple JS inside browser instead of 
> NodeJS. We _can_ alter the setup in order reduce the overhead, but I think we 
> can also use current setup to [unit test AngularJS 
> directives|https://code.angularjs.org/1.6.0-rc.2/docs/guide/unit-testing#testing-directives]
>  which might require the browser environment.
> *What to do:*
> Investigate AngularJS directive/component unit tests, see if it can run in 
> NodeJS or it requires the browser as a runtime environment. If component unit 
> tests can run in NodeJS, simplify the setup so all unit tests run in it. If 
> component unit tests can only run in browser, add a sample 
> component/directive unit test, we should really write more of those.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7895) Web console: revise unit tests

2018-03-11 Thread Ilya Borisov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Borisov updated IGNITE-7895:
-
Description: 
*The issue:*
Current web console unit tests run inside Karma and PhantomJS, but this setup 
adds unnecessary overhead of running simple JS inside browser instead of 
NodeJS. We _can_ alter the setup in order reduce the overhead, but I think we 
can also use current setup to [unit test AngularJS 
directives|https://code.angularjs.org/1.6.0-rc.2/docs/guide/unit-testing#testing-directives]
 which might require the browser environment.

*What to do:*
Investigate AngularJS directive/component unit tests, see if it can run in 
NodeJS or it requires the browser as a runtime environment. If component unit 
tests can run in NodeJS, simplify the setup so all unit tests run in it. If 
component unit tests can only run in browser, add a sample component/directive 
unit test, we should really write more of those.

  was:
*The issue:*
Current web console unit tests run inside Karma and PhantomJS.

What to do:


> Web console: revise unit tests
> --
>
> Key: IGNITE-7895
> URL: https://issues.apache.org/jira/browse/IGNITE-7895
> Project: Ignite
>  Issue Type: Improvement
>Reporter: Alexander Kalinin
>Assignee: Alexander Kalinin
>Priority: Major
> Fix For: 2.5
>
>
> *The issue:*
> Current web console unit tests run inside Karma and PhantomJS, but this setup 
> adds unnecessary overhead of running simple JS inside browser instead of 
> NodeJS. We _can_ alter the setup in order reduce the overhead, but I think we 
> can also use current setup to [unit test AngularJS 
> directives|https://code.angularjs.org/1.6.0-rc.2/docs/guide/unit-testing#testing-directives]
>  which might require the browser environment.
> *What to do:*
> Investigate AngularJS directive/component unit tests, see if it can run in 
> NodeJS or it requires the browser as a runtime environment. If component unit 
> tests can run in NodeJS, simplify the setup so all unit tests run in it. If 
> component unit tests can only run in browser, add a sample 
> component/directive unit test, we should really write more of those.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7895) Web console: revise unit tests

2018-03-11 Thread Ilya Borisov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Borisov updated IGNITE-7895:
-
Summary: Web console: revise unit tests  (was: Revise unit tests for Web 
Console.)

> Web console: revise unit tests
> --
>
> Key: IGNITE-7895
> URL: https://issues.apache.org/jira/browse/IGNITE-7895
> Project: Ignite
>  Issue Type: Improvement
>Reporter: Alexander Kalinin
>Assignee: Alexander Kalinin
>Priority: Major
> Fix For: 2.5
>
>
> *The issue:*
> Current web console unit tests run inside Karma and PhantomJS.
> What to do:



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)