Metadata-Version: 2.1
Name: robotframework-testnotify
Version: 1.1.0
Summary: Send notifications to chat using Robot Framework.
Home-page: https://github.com/barbosamp/robotframework-testnotification.git
Author: Marcos Barbosa
Author-email: 
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests

# TestNotification


[![PyPI version](https://badge.fury.io/py/test-notification-library.svg)](https://badge.fury.io/py/test-notification-library)

A biblioteca TestNotification pode ser utilizada para enviar notificaÃ§Ãµes para diferentes plataformas durante ou apÃ³s a execuÃ§Ã£o dos testes com o Robot Framework.

## UtilizaÃ§Ã£o

### InstalaÃ§Ã£o

Instale a biblioteca utilizando o comando:

```pip install test-notification-library```

### Exemplo de Uso

Importe a biblioteca no inÃ­cio do seu arquivo de teste Robot Framework:

```
Library    TestNotification    url/webhook    plataforma    end_suite
```
Argumentos:
#### - url/webhook: 
   De acordo com a plataforma desejada, informe a URL. Caso utilize Google, Slack ou Telegram, envie um webhook; para uso em e-mails, utilize a URL do servidor SMTP.
#### - plataforma: 
   Google, Slack, Telegram ou Email. Informe a plataforma para a qual deseja receber as notificaÃ§Ãµes.
#### - end_suite: 
Envia notificaÃ§Ã£o ao final de cada suite com o resumo da execuÃ§Ã£o da suÃ­te.

### Exemplos de Plataformas e ParÃ¢metros

- Google Chat:
  ```
  Library TestNotification         https://chat.googleapis.com/v1/spaces/ASASssapasmc.com.br     google      end_suite
  ```
- Slack:
  ```
  Library TestNotification https://hooks.slack.com/services/EQE23EWQ12/dsaSDAD/VgS06iIiwmL slack end_suite
  ```
- Telegram:
  ```
  Library TestNotification https://api.telegram.org/bot TOKEN CHAT_ID telegram end_suite
  ```
- Email:
  ```
  Library TestNotification smtp.gmail.com USERNAME PASSWORD 587 receiver@example.com email end_suite
  ```
## Contribuindo

Sinta-se Ã  vontade para contribuir para este projeto! Abra uma issue ou envie um pull request com suas sugestÃµes.

## LicenÃ§a

Este projeto estÃ¡ licenciado sob a LicenÃ§a MIT.
