Skip to content

etianen/logot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

266 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Log-based testing πŸͺ΅

Poetry Build Codecov Docs PyPI version Supported Python versions

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

from logot import Logot, logged

def test_something(logot: Logot) -> None:
    do_something()
    logot.assert_logged(logged.info("Something was done"))

logot integrates with popular testing frameworks (e.g. pytest, unittest). It supports many 3rd-party asynchronous and logging frameworks, and can be extended to support many more. πŸ’ͺ

Documentation πŸ“–

Full documentation is published on Read the Docs. Learn more about logot with the following guides:

Bugs / feedback πŸ›

Issue tracking is hosted on GitHub.

Changelog πŸ—οΈ

Release notes are published on GitHub.

License βš–οΈ

logot is published as open-source software under the MIT license.

About

Test whether your code is logging correctly πŸͺ΅

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors

Languages