z411 / trackma

Open multi-site list manager for Unix-like systems. (ex-wMAL)
https://z411.github.io/trackma
GNU General Public License v3.0
761 stars 82 forks source link

Run tests with mocked API data and update it frequently #671

Open FichteFoll opened 1 year ago

FichteFoll commented 1 year ago

I just had this idea and wanted to write it down.

Basically, if, at some point in the future, trackma had automated tests with mocked API response data, we should have a job that periodically queries the same endpoint and creates a PR with any differences (cleaned from volatile data like timestamps) that then triggers CI and immediately notifies about breaking changes from an API.