macchiato-framework / macchiato-core

Ring style HTTP server abstraction for Node.js
MIT License
379 stars 35 forks source link

testing routes/handlers #24

Open beetleman opened 6 years ago

beetleman commented 6 years ago

How can I test my routes/handlers? In my opinion something like this should be part of separate lib: macchiato-testing or something like this.

yogthos commented 6 years ago

Yeah that sounds like a good idea, probably would be good to base it on ring-mock.

beetleman commented 6 years ago

I need something like ring-mock for my side project so i will develop some kind of mock any way. I'll try do it in way similar to ring-mock. In next weekend I should have some time for this.

yogthos commented 6 years ago

Fantastic, that would be a great addition for macchiato. :)