joshheinrichs / geosource

A web application for posting and browsing spatio-temporal data. Honours project for CMPT 405.
https://geosource.usask.ca
0 stars 0 forks source link

Testing #15

Open joshheinrichs opened 8 years ago

joshheinrichs commented 8 years ago

There are at least some tests for the types and transactions packages on the server, but it would be nice to add some tests for the API as well. There is actually a package that comes with go-json-rest which can assist in this: https://godoc.org/github.com/ant0ine/go-json-rest/rest/test

It'd also be nice to set up some testing for the website following this article: https://www.polymer-project.org/1.0/tools/tests.html

joshheinrichs commented 8 years ago

A sample API test has been added.