aiotdlib
aiotdlib copied to clipboard
Add tests?
Hi, this question is quite selfish, I'd like to use this repo among others for smoke testing new pydantic releases, see https://github.com/pydantic/pydantic/discussions/4359. According to this this repo has lots of pydantic imports, hence why I came here.
Would you consider adding tests to this repo, I don't know if there's a dummy api for telegram, otherwise you could create mock endpoints for unit tests.
Do you have an existing strategy for testing?
Hi, I don't have any strategy for testing yet.
Telegram needs you to be authorized to use API, so it's quite a problem to run tests automatically, in GitHub actions for example. But mock endpoints could help in this situation.
I will think about adding tests. Any PRs are welcome
Thanks for considering it.
In the absence of tests, I'd love it if you could test v1.10.0a1
, and let us know if you see any breaking changes?