RangerMauve / dat-pub

Lightweight HTTP service for discovering dats
MIT License
9 stars 0 forks source link

CI / tests #5

Open aaronshaf opened 6 years ago

aaronshaf commented 6 years ago

At least some sanity check tests + CircleCI?

RangerMauve commented 6 years ago

Yeah, that's a good idea.

I usually use tape for unit tests since the API is pretty minimal.

I could probably put some time into that this weekend. :D

aaronshaf commented 6 years ago

I am personally thinking more functional tests with docker-compose

RangerMauve commented 6 years ago

What sort of stuff would you want to test?

With a unit test you could still spin up a local server and send requests to it without having users set anything up other than node.

RangerMauve commented 6 years ago

Sorry, I guess unit test is the wrong word there. :P

I'm not sure what docker would add over doing everything in node.