systemapic / pile

PostGIS tile server
0 stars 2 forks source link

Add testsuite #21

Open strk opened 8 years ago

strk commented 8 years ago

Each API endpoint should have its own test, with fake services started as needed to complete each request.

strk commented 8 years ago

Some tests have been added but it's pretty hard to run them. Ideally the tests should be runnable right after obtaining the code and running "npm install". There should be no dependency on any other running module except obvious services like postgresql.

\cc @knutole

strk commented 8 years ago

And ideally outside the docker too, that is (for module-specific testing)