Closed demisx closed 9 years ago
No rec from me. I use hapi which has a built in mechanism for triggering the routing logic and then directly running through the request pipeline without an actual socket. You also get to peek at the object passed to reply
and not just its serialized form. Then I just make the assertions on the response object directly.
Ben, while doing research on available API testing libs, I've narrowed down to these three:
Wondering if you can recommend a library that worked well for you? I am using Express 4 for the API engine.