Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a test server #25

Closed
tarsisazevedo opened this issue Mar 4, 2015 · 1 comment
Closed

Create a test server #25

tarsisazevedo opened this issue Mar 4, 2015 · 1 comment

Comments

@tarsisazevedo
Copy link

I think it will be good have a official test server to make easier tests with godo.
Today, to test something with godo, we need to start a fake server and mock digitalocean api.

If you guys agree I can implement it and submit a PR. :)

@bryanl
Copy link
Contributor

bryanl commented May 4, 2015

Hello

Using golang.org/pkg/net/http/httptest/, you could manage your own test server. All responses are documented at https://developers.digitalocean.com/documentation/v2. I'm not sure we'd need to create a test server.

@bryanl bryanl closed this as completed May 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants