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

Define the desired unit test framework #9

Open
jctanner opened this issue Aug 7, 2014 · 3 comments
Open

Define the desired unit test framework #9

jctanner opened this issue Aug 7, 2014 · 3 comments

Comments

@jctanner
Copy link

jctanner commented Aug 7, 2014

We used nose in ansible and that was simple enough to code for. Do you have any strong preferences for what to use in ezmomi and what folder would you like the tests to live in?

@michaelrice
Copy link

I would suggest what is being done on vmware/pyvmomi and check out vcrpy. Since many of the things you would want to unit test might be things like create or clone a virtual machine and such you could record the http transactions. Check out this video http://www.youtube.com/watch?v=n3CP_ObMP0g

@snobear
Copy link
Owner

snobear commented Aug 8, 2014

Thanks a million guys! I'm in the mountains for a few days and will take a look at the PRs and suggestions Monday. Much appreciated.

On Aug 7, 2014, at 8:01 PM, Michael Rice [email protected] wrote:

I would suggest what is being done on vmware/pyvmomi and check out vcrpy. Since many of the things you would want to unit test might be things like create or cone a virtual machine and such you could record the http transactions. Check out this video http://www.youtube.com/watch?v=n3CP_ObMP0g


Reply to this email directly or view it on GitHub.

@snobear
Copy link
Owner

snobear commented Aug 12, 2014

I don't have any strong preferences. I set up the bare minimum for travis just to get it started. I think we should check out what @michaelrice suggested.

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

3 participants