PROGRADE-Tech / Tarchivebot

:page_with_curl: Telegram chat message archive and statistics
https://tarchive.neat.moe
GNU Affero General Public License v3.0
10 stars 4 forks source link

Software tests #43

Open fuerbringer opened 7 years ago

fuerbringer commented 7 years ago

This is just an idea and mostly optional. But I thought it'd be a nice idea to use testing in this project. What's keeping me from implementing testing right away is not being sure what to test. Right off the bat I could probably test stuff like the correctness of the .JSON files. Maybe even test if the log functions do stuff correctly. Ideas would be neat.

Links:

  1. Mocha (GitHub)
  2. Examples
fuerbringer commented 7 years ago

npm test now does something (#63)