Closed GeorgeCiesinski closed 4 years ago
Found a way to run the test:
From console, run "python -m unittest tests.test_glib
Resource to better organize the tests: https://docs.python.org/3/library/unittest.html#organizing-tests
Switched from unit test to pytest. Testing is also automated by Travis CI now.
Write unit test using the UnitTest library for glib.py
Opening this issue as this will be the first unit test for this program.
Adding resources:
Testing your code: https://docs.python-guide.org/writing/tests/
Resolve import issues: https://alex.dzyoba.com/blog/python-import/
Tutorial: https://www.youtube.com/watch?v=6tNS--WetLI