The acceptance tests

In the context of a web application, "acceptance test" will often refer to in-browser, end-to-end testing. In the Java world, Selenium is clearly one of the most reliable and mature libraries.

In the JavaScript world, we can find other alternatives, such as PhantomJS or Protractor. PhantomJS is very relevant in our case because there is a web driver available to run Selenium tests inside of this headless browser, which will improve launch time and won't require emulating an X Server or launching a separate Selenium server:

Selenium 2

This provides web drivers to pilot browsers for automated testing.

PhantomJS

A headless browser (without GUI). Probably the fastest browser.

FluentLenium

A fluent library for piloting Selenium ...

Get Spring MVC: Designing Real-World Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.