hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@hortonworks.com>
Subject Re: node.js and more as dependencies
Date Wed, 02 Mar 2016 19:17:12 GMT

> On 2 Mar 2016, at 05:55, Haohui Mai <ricetons@gmail.com> wrote:
> 
> +1 on adding npm / gulp / mocha to be part of the build dependencies
> (not runtime). The main benefit is modularity -- for example, in the
> HDFS UI we manually duplicate the navigation bars and footer. We don't
> have unit tests for them due to the lack of infrastructure.
> 
> In my opinion Introducing npm will effectively bridge the gap.


Still need a plan for testing any web UI with .js in the mix; it's a lot harder than for static
HTML.

HtmlUnit should be able to handle it: it uses the JVM's own Javascript engine to interpret
the code —has anyone looked at using this to test the new UIs?
Mime
View raw message