Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lexxx42/testing-api-telegram

Testing of Telegram API with PyTest and Postman
https://github.com/lexxx42/testing-api-telegram

api-testing postman pytest python telegram-api

Last synced: about 2 months ago
JSON representation

Testing of Telegram API with PyTest and Postman

Awesome Lists containing this project

README

        

# testing-api-telegram

Testing of Telegram API with PyTest and Postman

## Tools

[Postman](https://www.postman.com/)

## Resource

[Telegram](https://web.telegram.org/k/)

## Test module

[Telegram bot](https://t.me/BotFather)

### Task:

1. Create a collection and environment variables
2. Implement Methods
* API authorization for the created bot
* send a message
* edit message
* deleting a message

### Requirements:

* URL implement as a variable
* Implement checks in the Test tab
* Implement preconditions in Pre-request script tab

## Results

* [Postman solution](Postman_solution.md)
* [Pytest solution](Pytest_solution.md)