test-notification-library


Nametest-notification-library JSON
Version 1.2.1 PyPI version JSON
download
home_pagehttps://github.com/barbosamp/robotframework-testnotification.git
SummaryLibrary for sending notifications to different platforms during or after Robot Framework tests execution.
upload_time2024-05-03 15:37:27
maintainerNone
docs_urlNone
authorMarcos Barbosa
requires_python>=3.6
licenseMIT
keywords robotframework testing automation notification
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/barbosamp/robotframework-testnotification.git",
    "name": "test-notification-library",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "robotframework testing automation notification",
    "author": "Marcos Barbosa",
    "author_email": "mpbarbosa_@outlook.com",
    "download_url": "https://files.pythonhosted.org/packages/d0/d4/15519aeb760e2f21b615e7ddeab74326ddc6e99790a29ea1965a6fbced7f/test_notification_library-1.2.1.tar.gz",
    "platform": null,
    "description": "# TestNotification\r\n\r\n\r\n[![PyPI version](https://badge.fury.io/py/test-notification-library.svg)](https://badge.fury.io/py/test-notification-library)\r\n\r\nA biblioteca TestNotification pode ser utilizada para enviar notifica\u00c3\u00a7\u00c3\u00b5es para diferentes plataformas durante ou ap\u00c3\u00b3s a execu\u00c3\u00a7\u00c3\u00a3o dos testes com o Robot Framework.\r\n\r\n## Utiliza\u00c3\u00a7\u00c3\u00a3o\r\n\r\n### Instala\u00c3\u00a7\u00c3\u00a3o\r\n\r\nInstale a biblioteca utilizando o comando:\r\n\r\n```pip install test-notification-library```\r\n\r\n### Exemplo de Uso\r\n\r\nImporte a biblioteca no in\u00c3\u00adcio do seu arquivo de teste Robot Framework:\r\n\r\n```\r\nLibrary    TestNotification    url/webhook    plataforma    end_suite\r\n```\r\nArgumentos:\r\n#### - url/webhook: \r\n   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.\r\n#### - plataforma: \r\n   Google, Slack, Telegram ou Email. Informe a plataforma para a qual deseja receber as notifica\u00c3\u00a7\u00c3\u00b5es.\r\n#### - end_suite: \r\nEnvia notifica\u00c3\u00a7\u00c3\u00a3o ao final de cada suite com o resumo da execu\u00c3\u00a7\u00c3\u00a3o da su\u00c3\u00adte.\r\n\r\n### Exemplos de Plataformas e Par\u00c3\u00a2metros\r\n\r\n- Google Chat:\r\n  ```\r\n  Library TestNotification         https://chat.googleapis.com/v1/spaces/ASASssapasmc.com.br     google      end_suite\r\n  ```\r\n- Slack:\r\n  ```\r\n  Library TestNotification https://hooks.slack.com/services/EQE23EWQ12/dsaSDAD/VgS06iIiwmL slack end_suite\r\n  ```\r\n- Telegram:\r\n  ```\r\n  Library TestNotification https://api.telegram.org/bot TOKEN CHAT_ID telegram end_suite\r\n  ```\r\n- Email:\r\n  ```\r\n  Library TestNotification smtp.gmail.com USERNAME PASSWORD 587 receiver@example.com email end_suite\r\n  ```\r\n## Contribuindo\r\n\r\nSinta-se \u00c3\u00a0 vontade para contribuir para este projeto! Abra uma issue ou envie um pull request com suas sugest\u00c3\u00b5es.\r\n\r\n## Licen\u00c3\u00a7a\r\n\r\nEste projeto est\u00c3\u00a1 licenciado sob a Licen\u00c3\u00a7a MIT.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Library for sending notifications to different platforms during or after Robot Framework tests execution.",
    "version": "1.2.1",
    "project_urls": {
        "Homepage": "https://github.com/barbosamp/robotframework-testnotification.git"
    },
    "split_keywords": [
        "robotframework",
        "testing",
        "automation",
        "notification"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0d415519aeb760e2f21b615e7ddeab74326ddc6e99790a29ea1965a6fbced7f",
                "md5": "b4dfd556353194da24206513c46e13b4",
                "sha256": "fbbdcc7102edc82c76b440649661ff77de4b4384ed1577cba789c7f94ed3be85"
            },
            "downloads": -1,
            "filename": "test_notification_library-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b4dfd556353194da24206513c46e13b4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 5331,
            "upload_time": "2024-05-03T15:37:27",
            "upload_time_iso_8601": "2024-05-03T15:37:27.155535Z",
            "url": "https://files.pythonhosted.org/packages/d0/d4/15519aeb760e2f21b615e7ddeab74326ddc6e99790a29ea1965a6fbced7f/test_notification_library-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-03 15:37:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "barbosamp",
    "github_project": "robotframework-testnotification",
    "github_not_found": true,
    "lcname": "test-notification-library"
}
        
Elapsed time: 0.24621s