JohnTheCoolingFan / sayless

A link shortening service
MIT License
0 stars 0 forks source link

Automated tests and builds #7

Open JohnTheCoolingFan opened 9 months ago

JohnTheCoolingFan commented 9 months ago

Automated tests and builds would make setup more easy and help testing new changes.

JohnTheCoolingFan commented 9 months ago

sqlx allows making unit tests, but a mysql database must be set up.

axum also allows unit testing without setting up the whole webserver.

All of this allows making unit tests but they would not be as thorough as tests with a real webserver.