Metadata-Version: 2.1
Name: logot
Version: 0.3.2
Summary: Test whether your code is logging correctly 🪵
Home-page: https://logot.readthedocs.io
License: MIT
Keywords: test,unittest,pytest,logging
Author: Dave Hall
Author-email: dave@etianen.com
Requires-Python: >=3.8,<4.0
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
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
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Software Development :: Testing :: Unit
Classifier: Topic :: System :: Logging
Classifier: Typing :: Typed
Provides-Extra: pytest
Requires-Dist: pytest (>=7.0.0) ; extra == "pytest"
Project-URL: Changelog, https://github.com/etianen/logot/releases
Project-URL: Documentation, https://logot.readthedocs.io
Project-URL: Repository, https://github.com/etianen/logot
Project-URL: Tracker, https://github.com/etianen/logot/issues
Description-Content-Type: text/markdown

# Log-based testing 🪵

[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)
[![Build](https://github.com/etianen/logot/actions/workflows/build.yml/badge.svg)](https://github.com/etianen/logot/actions/workflows/build.yml)
[![Docs](https://readthedocs.org/projects/logot/badge/)](https://logot.readthedocs.io)
[![PyPI version](https://img.shields.io/pypi/v/logot.svg)](https://pypi.org/project/logot/)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/logot.svg)](https://pypi.org/project/logot/)

`logot` makes it easy to test whether your code is logging correctly:

``` python
from logot import Logot, logged

def test_my_app(logot: Logot) -> None:
    app.start()
    logot.wait_for(logged.info("App started"))
```


## Documentation 📖

Full documentation is published on [Read the Docs](https://logot.readthedocs.io).


## Bugs / feedback 🐛

Issue tracking is hosted on [GitHub](https://github.com/etianen/logot/issues).


## Changelog 🏗️

Release notes are published on [GitHub](https://github.com/etianen/logot/releases).


## License ⚖️

`logot` is published as open-source software under the [MIT license](https://github.com/etianen/logot/blob/main/LICENSE).

