{"id":13772723,"url":"https://github.com/etianen/logot","last_synced_at":"2025-04-13T08:41:11.113Z","repository":{"id":217156005,"uuid":"743202960","full_name":"etianen/logot","owner":"etianen","description":"Test whether your code is logging correctly 🪵","archived":false,"fork":false,"pushed_at":"2024-04-22T10:21:15.000Z","size":352,"stargazers_count":89,"open_issues_count":12,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-22T11:34:10.672Z","etag":null,"topics":["logging","pytest-plugin","python","testing"],"latest_commit_sha":null,"homepage":"https://logot.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/etianen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-14T16:34:03.000Z","updated_at":"2024-04-22T11:34:14.401Z","dependencies_parsed_at":"2024-01-14T21:38:26.980Z","dependency_job_id":"315ab744-a5f9-4dfc-8ff5-390f167e8b9d","html_url":"https://github.com/etianen/logot","commit_stats":null,"previous_names":["etianen/logtest"],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etianen%2Flogot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etianen%2Flogot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etianen%2Flogot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etianen%2Flogot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etianen","download_url":"https://codeload.github.com/etianen/logot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248686229,"owners_count":21145447,"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":["logging","pytest-plugin","python","testing"],"created_at":"2024-08-03T17:01:07.217Z","updated_at":"2025-04-13T08:41:11.080Z","avatar_url":"https://github.com/etianen.png","language":"Python","readme":"# Log-based testing 🪵\n\n[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)\n[![Build](https://github.com/etianen/logot/actions/workflows/build.yml/badge.svg)](https://github.com/etianen/logot/actions/workflows/build.yml)\n[![Codecov](https://codecov.io/gh/etianen/logot/graph/badge.svg?token=J5K0LOOSTZ)](https://codecov.io/gh/etianen/logot)\n[![Docs](https://readthedocs.org/projects/logot/badge/)](https://logot.readthedocs.io)\n[![PyPI version](https://img.shields.io/pypi/v/logot.svg)](https://pypi.org/project/logot/)\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/logot.svg)](https://pypi.org/project/logot/)\n\n`logot` makes it easy to test whether your code is logging correctly:\n\n```python\nfrom logot import Logot, logged\n\ndef test_something(logot: Logot) -\u003e None:\n    do_something()\n    logot.assert_logged(logged.info(\"Something was done\"))\n```\n\n`logot` integrates with popular testing frameworks (e.g. [`pytest`](https://logot.readthedocs.io/latest/using-pytest.html), [`unittest`](https://logot.readthedocs.io/latest/using-unittest.html)). It supports many 3rd-party [asynchronous](https://logot.readthedocs.io/latest/integrations/index.html#asynchronous-frameworks) and [logging](https://logot.readthedocs.io/latest/integrations/index.html#logging-frameworks) frameworks, and can be extended to support many more. 💪\n\n## Documentation 📖\n\nFull documentation is published on [Read the Docs](https://logot.readthedocs.io). Learn more about `logot` with the following guides:\n\n- [Log message matching](https://logot.readthedocs.io/latest/log-message-matching.html)\n- [Log pattern matching](https://logot.readthedocs.io/latest/log-pattern-matching.html)\n- [Log capturing](https://logot.readthedocs.io/latest/log-capturing.html)\n- [Using with `pytest`](https://logot.readthedocs.io/latest/using-pytest.html)\n- [Using with `unittest`](https://logot.readthedocs.io/latest/using-unittest.html)\n- [Installing](https://logot.readthedocs.io/latest/installing.html)\n\n\n## Bugs / feedback 🐛\n\nIssue tracking is hosted on [GitHub](https://github.com/etianen/logot/issues).\n\n\n## Changelog 🏗️\n\nRelease notes are published on [GitHub](https://github.com/etianen/logot/releases).\n\n\n## License ⚖️\n\n`logot` is published as open-source software under the [MIT license](https://github.com/etianen/logot/blob/main/LICENSE).\n","funding_links":[],"categories":["Tools"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetianen%2Flogot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetianen%2Flogot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetianen%2Flogot/lists"}