Add tox test suite to godaddypy
eXamadeus opened this issue · 4 comments
Currently, the unit tests only get run against multiple versions of python through travis CI. It would be nice to have a local configuration (something like tox) that would run tests against a battery of different python versions so that developers can see if a test will fail in a certain version before having to push the commit and have CI catch the error.
@eXamadeus I think at least we have to add some sanity checks like
- flake8
- black
- run unit tests
Note: locally as well this check should be on Travis to maintain code quality
Yeah it's been a while since I've touched this library. I think there is a LOT that can be done in regards to testing.
Thanks for the suggestions.
@eXamadeus awesome!
I will add it at the weekend.
This has been superseded by work in the latest release: https://github.com/eXamadeus/godaddypy/releases/tag/2.4.1
Unit tests are run through GitHub actions against multiple python versions. Black and flake8 are also checked as well.
Also we use PyTest now instead of nose.