goware / geotools

Geo-location lookup library / service built on Google Maps API
MIT License
2 stars 1 forks source link

Testing another way of mocking responses. #10

Closed xiam closed 8 years ago

xiam commented 8 years ago

Hey @VojtechVitek, @pkieltyka,

Here's another proposal based on your suggestions of using a readable format and interfaces. We will need to do something like gmaps/mock_test.go for each mock we want to implement.

Thoughts?

pkieltyka commented 8 years ago

:) thank you jose for the quick turnaround. Impressive how fast you did this.

VojtechVitek commented 8 years ago

Well done :) Let me have a deeper look tomorrow :+1: