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

Add Unit Testing #42

Closed
hartsock opened this issue Jun 3, 2014 · 2 comments
Closed

Add Unit Testing #42

hartsock opened this issue Jun 3, 2014 · 2 comments

Comments

@hartsock
Copy link
Member

hartsock commented Jun 3, 2014

I will feel better about modifications to this library once I start to see unit testing and integration testing suites for this software.

This is probably best done as a series of small commits. Each one adding some tests. This should also probably occur in a branch and then later be merged.

michaelrice pushed a commit to michaelrice/pyvmomi that referenced this issue Jun 8, 2014
michaelrice pushed a commit to michaelrice/pyvmomi that referenced this issue Jun 8, 2014
michaelrice pushed a commit to michaelrice/pyvmomi that referenced this issue Jun 8, 2014
michaelrice pushed a commit to michaelrice/pyvmomi that referenced this issue Jun 8, 2014
@michaelrice
Copy link
Contributor

@hartsock What branch do you want this opened on? I have a few tests ready to submit.

michaelrice pushed a commit to michaelrice/pyvmomi that referenced this issue Jun 14, 2014
michaelrice pushed a commit to michaelrice/pyvmomi that referenced this issue Jun 14, 2014
adding requirements file. py26 needs unittest2
@michaelrice michaelrice mentioned this issue Jun 14, 2014
hartsock added a commit to hartsock/pyvmomi that referenced this issue Jul 17, 2014
Work to add unit testing to the lib.
Makes changes to the connection and HTTP socket libs
to make sure we can use testing fixtures.

partial vmware#42
hartsock added a commit to hartsock/pyvmomi that referenced this issue Jul 22, 2014
* makes testing possible
* defines fixture storage paths
* creates initial fixture for testing
* defines test requirements
* fixes connection fault so that it raises a traceback for diagnostics

partial vmware#42
blocks vmware#55
hartsock added a commit to hartsock/pyvmomi that referenced this issue Jul 22, 2014
* makes testing possible
* defines fixture storage paths
* creates initial fixture for testing
* defines test requirements
* fixes connection fault so that it raises a traceback for diagnostics

partial vmware#42
blocks vmware#55
hartsock added a commit to hartsock/pyvmomi that referenced this issue Jul 22, 2014
* makes testing possible
* defines fixture storage paths
* creates initial fixture for testing
* defines test requirements
* fixes connection fault so that it raises a traceback for diagnostics

partial vmware#42
blocks vmware#55
hartsock added a commit to hartsock/pyvmomi that referenced this issue Jul 22, 2014
* new dependencies files
* makes testing possible
* defines fixture storage paths
* creates initial fixture for testing
* defines test requirements
* fixes connection fault so that it raises a traceback for diagnostics

partial vmware#42
blocks vmware#55
michaelrice pushed a commit to michaelrice/pyvmomi that referenced this issue Jul 22, 2014
michaelrice pushed a commit to michaelrice/pyvmomi that referenced this issue Jul 22, 2014
adding requirements file. py26 needs unittest2
hartsock added a commit to hartsock/pyvmomi that referenced this issue Jul 23, 2014
A smart connect test and fixture to validate that the
SmartConnect class is behaving properly.

partial: vmware#42
@hartsock hartsock self-assigned this Jul 31, 2014
@hartsock
Copy link
Member Author

I consider this closed as of: 19e5029

We will have to continually increase unit testing in general.

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

No branches or pull requests

2 participants