mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
chore: add changelog fragment 1727.docs.rst
This commit is contained in:
parent
6694bef199
commit
2fae5ba8fb
1 changed files with 9 additions and 0 deletions
9
newsfragments/1727.docs.rst
Normal file
9
newsfragments/1727.docs.rst
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
Docs: add guide "Testing your bot" (pytest examples)
|
||||
|
||||
Add a new documentation page that shows how to test bot handlers with pytest
|
||||
without sending real requests to the Telegram API. The guide includes:
|
||||
- an echo handler example
|
||||
- a callback query example
|
||||
|
||||
Both examples use dummy objects (Message / CallbackQuery) so developers can
|
||||
test logic in isolation.
|
||||
Loading…
Add table
Add a link
Reference in a new issue