So I have a RESTful API set up and I wanted to write some tests for it. I have mocha/chai all set up and can make http requests which are working fine.Before I write any more tests, I wanted to see if this is the best way to do this. Is it normal to do http requests for testing? Also, how do I test stuff that includes the database (using mysql). I'm also using Redis so also not sure how to test that.
Submitted February 05, 2018 at 10:31PM by allvoid
No comments:
Post a Comment