> On 2 Mar 2016, at 05:55, Haohui Mai <ricet...@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?

Reply via email to