robertlugg / easygui

easygui for Python
http://easygui.readthedocs.org/en/master/
BSD 3-Clause "New" or "Revised" License
458 stars 115 forks source link

Feature/add travis unit tests #185

Closed zadacka closed 2 years ago

zadacka commented 3 years ago

This PR adds config so that the repo can run unit tests automatically with Travis CI. For now, this is the minimal config to get the existing unit tests (credit: Al) running and passing.

Additionally, I've change Al's tests from Pytest (additional dependency) to Unittest. I tried to remove the dependency on pynput library but... (1) it is perfect for the sort of testing that we want to do here, and (2) it can be a test-only requirement: not any imposition on our end-users Developers who want to run the easygui uint tests will need to install it.