Skip to main content

Pentaho+ documentation has moved!

The new product documentation portal is here. Check it out now at docs.hitachivantara.com

 

Hitachi Vantara Lumada and Pentaho Documentation

Namespace List

pentaho-analyzer-client

This is where all of the client-side code goes for the analyzer plugin (javascript, html, css, images, and so on).

Javascript unit tests

Running the js tests in a headless fashion is as simple as running the test phase.

$ mvn test

If you are interested in debugging the tests in a browser, you can run the tests like this:

$ mvn test -Dkarma.file.config=karma.conf.js

The property karma.file.config can be set to any filename that represents a karma configuration that is in the src/test/config/javascript folder. karma.conf.js is pre-configured to run the tests in the Chrome browser. You can create new configurations for other browsers if desired. You just need to place them in the same folder and reference them in the same way.