{"id":17114709,"url":"https://github.com/Alpaca00/pytest-chic-report","last_synced_at":"2026-06-11T09:30:20.920Z","repository":{"id":65155866,"uuid":"584779192","full_name":"Alpaca00/pytest-chic-report","owner":"Alpaca00","description":"Simple pytest plugin for generating and sending report to messengers","archived":false,"fork":false,"pushed_at":"2025-01-10T16:40:13.000Z","size":240,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-18T22:17:49.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alpaca00.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-03T13:50:55.000Z","updated_at":"2025-01-10T16:40:17.000Z","dependencies_parsed_at":"2024-11-24T23:03:56.355Z","dependency_job_id":null,"html_url":"https://github.com/Alpaca00/pytest-chic-report","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"e0883959d8c65e873b66300b8590b9b362a85959"},"previous_names":["alpaca00/pytest-summary"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alpaca00%2Fpytest-chic-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alpaca00%2Fpytest-chic-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alpaca00%2Fpytest-chic-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alpaca00%2Fpytest-chic-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alpaca00","download_url":"https://codeload.github.com/Alpaca00/pytest-chic-report/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240226378,"owners_count":19768068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T17:19:54.819Z","updated_at":"2026-06-11T09:30:18.843Z","avatar_url":"https://github.com/Alpaca00.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## pytest-chic-report\n\n![PyPI - Downloads](https://img.shields.io/pypi/dm/pytest-chic-report?label=Downloads\u0026style=social)\n\n\n`pytest-chic-report` is a plugin for pytest that allows you to generate test result summaries in Markdown format and send them to Slack or Teams channels.\n\n### Installation\n\n```bash\npip install pytest-chic-report\n```\n\n### Usage\n\n**Adding Command Line Options**\n\nThe plugin adds several command line options to customize the reports:\n\n- `--summary` Print a summary in the terminal (enabled by default).\n- `--suite-name` Specify the name of the test suite (default: \"Regression\").\n- `--whois` Specify the name of the user who triggered the tests.\n- `--verify-ssl` Enable TLS certificate verification.\n- `--slack-webhook` Specify the webhook URL for Slack to send the report.\n- `--teams-webhook` Specify the webhook URL for Teams to send the report.\n- `--include-failed` Include a template of failed tests in the message.\n- `--include-errors` Include a template of error tests in the message.\n- `--include-all-tests` Include a template of all tests in the message.\n\n### Example Usage:\n\n```bash\npytest --slack-webhook https://hooks.slack.com/services/XXXXX/XXXXX/XXXXX\n```\n\n\n### Report Format\n\nThe report is generated in Markdown format and sent to the specified channel, featuring color-coded test results:\n\n- green ✅ - all tests passed\n- red ❌ - at least one test failed or error\n- yellow ⏸️ - all tests skipped\n\n**Example Report**\n\n```markdown\n--------- Suite Summary ---------\nSuite name:    Regression\nPassed amount: 7\nFailed amount: 1\nSkipped amount: 1\nXfailed amount: 4\nXpassed amount: 2\nTotal tests: 15\nTotal duration: 0.02 seconds\nSuccessful tests: 47 %\nFrom: Linux-6.8.0-47-generic-x86_64-with-glibc2.39\nShow less\nSent by Anonymous | Today at 10:32 AM\n```\n\n**Note:** This does not work with the pytest-xdist plugin.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlpaca00%2Fpytest-chic-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlpaca00%2Fpytest-chic-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlpaca00%2Fpytest-chic-report/lists"}