matijaabicic / Moubot

Jose Mourinho Slack Bot - whines in your Slack channel after every Chelsea and Manchester Utd. game
www.moubot.com
MIT License
4 stars 6 forks source link

Add a test framework #13

Closed d48 closed 8 years ago

d48 commented 8 years ago

I recommend adding some unit test framework and start creating assertions on the src files in the repo. Look into https://www.npmjs.com/package/tape or https://www.npmjs.com/package/mocha

matijaabicic commented 8 years ago

Added Mocha, building tests as I go now.

d48 commented 8 years ago

Awesome. I would add to the .gitignore file:

node_modules/

It's common to not include this directory in the git repo so that it doesn't bloat the project. People can do an npm install to download the dependencies in the package.json file

matijaabicic commented 8 years ago

Good point, thx!