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 tests.

Geb

A Groovy library for piloting Selenium tests.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset