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

Use the python unittest framework for vpicc #18

Merged
merged 5 commits into from
Jul 24, 2014

Conversation

d0
Copy link
Contributor

@d0 d0 commented Jul 24, 2014

These patches convert the (very few) existing unit tests of vpicc to the unittest framework included in Pythons standard library. The test cases are moved into a dedicated subpackage and executed via TravisCI.

@frankmorgner
Copy link
Owner

why didn't you keep the tests that were commented out?

@frankmorgner
Copy link
Owner

sorry, I mean: why did you keep the tests that were commented out?

@d0
Copy link
Contributor Author

d0 commented Jul 24, 2014

I wanted to build working test cases from the test code that is commented out but the interfaces have changed and I could not yet figure out how to make the code work again. I plan to write more test cases and use the commented out code as a starting point. If you think this code is too old and deprecated as to be useful, I'm okay with throwing it out.

@d0
Copy link
Contributor Author

d0 commented Jul 24, 2014

My main motivation for this pull request is the following: I want to do some refactoring of vpicc but I haven't worked with the code for so long, that I will probably break a lot of things in the process. Therefore I want to add unit tests before changing the code.

frankmorgner pushed a commit that referenced this pull request Jul 24, 2014
Use the python unittest framework for vpicc
@frankmorgner frankmorgner merged commit b1966b5 into frankmorgner:master Jul 24, 2014
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

Successfully merging this pull request may close these issues.

None yet

2 participants