- Clone this repository
cd
intohook.io-test
and runnpm install
- Download and Install Selenium Stand-alone Server
- Start Selenium Stand-alone server ( run the
open
command on theselenium-server-standalone-2.47.1.jar
file on the command line ) - Run
node tests/basic-test.js
Note: The basic tests use the firefox
browser, so you will need to have that installed.
- Update to Java and JDK version 8 ( two downloads )
- You may need to run selenium server or tests with
sudo
These tests should be consider Integration Tests, and not Unit Tests for the Hook microservice API.
Unit Tests for all hook.io API related functionality are available in the sub-dependencies which power hook.io itself.
These test suites represent a virtual user who browses the site from a headless browser.
These tests provide an overview of product functionality. Their depth of coverage will aim to be as deep as the user can tranverse the live product. The priority of these cases will depend on priority of the user story.