==========
Star Wars API test from the command line with love to you
- Written in JavaScript
- Hits the Galactic endpoints from the outside world
- Assertions on the JSON response
- Quick and efficent
- Easy to write new tests
-
Install node.js, by either crack open your favourite package manager: typically
apt-get install nodejs
on Debian/Ubuntu Linux,brew install node
on a Mac or directly from the website http://nodejs.org -
Clone the repository from github:
``` $ git clone https://github.com/therollingtester/mocha-starwars-apitests.git ```
- CD into the repository
``` $ cd mocha-starwars-apitests ```
- Install all the dependencies by:
``` $ npm install ```
- Fire up Mocha to run the tests!
``` $ mocha ```