tgvashworth / fetch-engine

A smart request-making library
24 stars 6 forks source link

Build scaffolding for testing real requests #66

Closed tgvashworth closed 8 years ago

tgvashworth commented 8 years ago

We have cross-browser testing and a working core. Now we need to make some real requests.

We'll spin up a local server that responds according to some configuration and then make requests from tests. First let's get one test working in node and the browsers.

tgvashworth commented 8 years ago

I'm looking at using impostor to do this. Each test would __set__ its endpoints, make the requests and then __clean__.

tgvashworth commented 8 years ago

Did a quick code review of impostor and I'm not super confident.

Given the range of things we're likely to want to do, hapi might be a better choice.