Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Unit tests are written using Mocha and run with the PhantomJS headless browser.
To set your environment up for unit testing, run:

Code Block

npm install -g mocha-phantomjs phantomjs

Run unit tests via:

Code Block
cd ambari-web
mocha-phantomjs public/test/test.html

...