snobear/ezmomi

Define the desired unit test framework

Opened this issue · 3 comments

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?

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

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 notifications@github.com 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.

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.