cmu-delphi / www-main

Delphi's homepage.
https://delphi.cmu.edu/
MIT License
5 stars 6 forks source link

Add tests #1031

Open melange396 opened 2 months ago

melange396 commented 2 months ago

This repository is basically devoid of any kind of tests (automated or otherwise), except for the CI action that makes sure it builds. Unit and integration tests dont make a lot of sense here since the repo is essentially all static content... But it would be nice to include a few [detailed] smoke tests to mimic the manual poking around that a developer or releaser is supposed to do. They could be automatically run against a PR's associated netlify preview. This can help if/when one of us "forgets" to do those manual checks, or neglects doing them thoroughly. There are many ways to approach this, from curl to selenium, but anything is hopefully better than the nothing that exists now.

Associated issues in other repos: