OiWorld / MindTheWord

An extension for Google Chrome that helps people learn new languages while they browse the web.
43 stars 47 forks source link

Unit testing and Travis CI file #116

Closed ankit-m closed 8 years ago

ankit-m commented 8 years ago

Unit Testing

Include unit testing using jasmine and karma. It tests all the files independently and verifies its functionality.

To run the tests

npm i -g gulp-cli
npm install
npm test

You should see a screen like this: tests

Right now many of the tests are empty. Over time, we will fill the test cases.

Travis CI

This PR also completes the travis.yml file required for checks to pass. I expect it to work as I cannot test without pushing rights to the repo. If this script works, all the PRs will be tested for these tests and if any of the tests fail, it will show a cross.

Note: Travis CI needs to be tested.

ceilican commented 8 years ago

Thanks!!