Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

Expose ec2test package #239

Open
ngauthier opened this issue Mar 5, 2015 · 0 comments
Open

Expose ec2test package #239

ngauthier opened this issue Mar 5, 2015 · 0 comments

Comments

@ngauthier
Copy link

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:

  1. Set up a fake ec2 endpoint
  2. Initialize a goamz ec2 client pointed to the fake endpoint
  3. Initialize my wrapper client with the goamz client
  4. Call a method on my wrapper client
  5. 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant