Skip to main content

Default template for PDM package

Project description

pytest-result-sender-lj

功能说明

  • 用例执行完,自动发送消息的插件,可配置:
    • 发送时机:send_when(on_fail:当执行完有失败case才发送;every:每次执行结束都发送)
    • 发送地址:send_api(发送地址为
    • 测试报告地址:report_dir

配置文件:pytest.ini

pytest.ini文件示例

[pytest]
# 什么时候发送
send_when = on_fail

# 发送到哪里
send_api = https://open.feishu.cn/open-apis/bot/v2/hook/65223bdb-adda-402e-a2f9-9c5d77b3f6c9

# 报告地址
report_dir = https://www.baidu.com123

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_result_sender_lj-0.1.7-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file pytest_result_sender_lj-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_result_sender_lj-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a923c2577a97ea90ac28ac7a20649969d913693d31eb06ede2e8a19a0bbfbfed
MD5 0802d96fe6cd5cb271610ee26917b25f
BLAKE2b-256 d7b211ddbb1ca093df42e11427260a94c9c56189591b703545ea2ea9f8826407

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page