da-luce / cornell-autobike

Codebase of the Cornell Autonomous Bicycle Team
https://www.cuautobike.org/
1 stars 1 forks source link

Testing #12

Closed AriMirsky closed 1 year ago

AriMirsky commented 1 year ago

Currently, our testing protocols involve running a main file and seeing if the output looks about right. Clearly, this is not ideal. We should have testing for any nontrivial functions, not just for "completeness" purposes, but for help debugging in the future so we don't have to always search the entirety of the codebase for potential problems. As a part 2 to this, we can set up tests to automatically run from pull requests on github in a way shown here: https://www.youtube.com/watch?v=DhUpxWjOhME.