timberline-secondary / hackerspace-scripts-2

Python based control panel and scripts for managing Timberline's Digital Hackerspace
GNU General Public License v3.0
3 stars 1 forks source link

Create a test suite for this #126

Closed tylerecouture closed 1 year ago

tylerecouture commented 1 year ago

https://realpython.com/python-testing/

Use built in unittest probably easiest.

For this issue, just create it and make it runnable inside docker. Thank we can set up automated testing GitHub Action and actually write tests in other issues.

punctuations commented 1 year ago

what kind of tests would be run? Most of this system is kind of hard to test for considering it has to interface with lots of external stuff

tylerecouture commented 1 year ago

Start with unit tests: that given input values to a function result in the expected output values.