You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.
Hello! I'm just getting started with goamz, and I wanted to write tests around my wrapper for the goamz client. The idea would be something like this:
Set up a fake ec2 endpoint
Initialize a goamz ec2 client pointed to the fake endpoint
Initialize my wrapper client with the goamz client
Call a method on my wrapper client
Inspect my fake endpoint to see that the appropriate API call was made.
I stumbled upon the ec2test package and it looks like it's used internally by the ec2 package to test the api. I was wondering if we could expose some of the fields and methods publicly, for example Server.reqs, so that I could access the actions made in my tests.
I would be happy to make and contribute this change to goamz. I'm just looking for a 👍 and any guidance from the maintainers of the project to make sure I don't do anything you wouldn't like me to.
-Nick
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello! I'm just getting started with goamz, and I wanted to write tests around my wrapper for the goamz client. The idea would be something like this:
I stumbled upon the ec2test package and it looks like it's used internally by the ec2 package to test the api. I was wondering if we could expose some of the fields and methods publicly, for example
Server.reqs
, so that I could access the actions made in my tests.I would be happy to make and contribute this change to goamz. I'm just looking for a 👍 and any guidance from the maintainers of the project to make sure I don't do anything you wouldn't like me to.
-Nick
The text was updated successfully, but these errors were encountered: