UI Testing using CasperJS
Pre-requisite:
- Install Brew https://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" Paste that in a macOS Terminal or Linux shell prompt. The script explains what it will do and then pauses before it does it. Read about other installation options.
-
Install PhantomJS, on Mac using Homebrew brew tap homebrew/cask brew cask install phantomjs
-
Install CasperJS http://docs.casperjs.org/en/latest/installation.html $ brew install casperjs
-
Run interface.js, follow instruction http://docs.casperjs.org/en/latest/quickstart.html
-
On Terminal, run casperjs test .js