Integration testing with Python, TestProject.io, and GitHub Actions
Caution
None of the testproject.io urls resolve anymore in JAN 2025, I removed all
of the broken links.
As I continue to build out waylonwalker.com [1] I
sometimes run into some errors that are not caught because I do not have good
testing implemented. I want to explore some integration testing options using
GitHub’s actions.
Running integration tests will not prevent bugs from happening completely, but
it will allow me to quickly spot them and rollback.
---
🤔 What to test first? # [2]
The very first thing that comes to my mind is anything that is loaded or ran
client-side. Two things quickly came to mind here. I run gatsby so most of my
content is statically rendered, and it yells at me if something isn’t as
expected. For performance reasons I lazy load cards on my blogroll, loading
all of the header images gets heavy and kills lighthouse (if anyone actually
cares). I am also loading some information from the top open-source libraries
that I have created. To prevent the need...