kshitij10496 / hercules

The mighty hero helping you build projects on top of IIT Kharagpur's academic data
https://hercules-10496.herokuapp.com/api/v1/static/index.html
MIT License
34 stars 18 forks source link

Testing HTTP Handlers #10

Closed kshitij10496 closed 5 years ago

kshitij10496 commented 5 years ago

Writing HTTP Handlers before any unit tests might seem outrageously wrong. I would agree with you on writing proper unit tests first, doing everything TDD, hands down. This might not be ideal but it's the bare minimum which we should have before doing a public release.

If you are interested in writing unit tests/integration tests(with a mock DB), I would be happy to accommodate it and learn from you. 😃

kshitij10496 commented 5 years ago

We should be good to start writing some basic handler tests as soon as #8 is addressed.