Fujihita / chatbot-aiko

This is a server-side chat bot written for Kantai Collection English Wikia chat room. The bot--named Aiko--uses MEAN stack (minus the database) app model, Bot Framework and other free Microsoft services.
ISC License
6 stars 3 forks source link

Write unit tests to increase code coverage #5

Open Fujihita opened 7 years ago

Fujihita commented 7 years ago

I have finished integrating TravisCI and Codecov to Aiko. This is the second step I took this year to welcome interested contributors on board (the first being the major refactor a few months ago). The current coverage is a mere 27% and I aim to spend some time writing various tests and bringing the coverage up.

The test suite of choice here is Shouldjs, Mocha and Istanbul. If anyone wish to help, they're welcome to submit unit cases for /services.

Read more: http://www.gregjopa.com/2014/02/testing-and-code-coverage-with-node-js-apps/