pytest-structlog

Structured logging assertions

MIT License

Downloads
164.1K
Stars
54
Committers
2
pytest-structlog - v1.1 Latest Release

Published by wimglenn 3 months ago

What's Changed

pytest-structlog - v1.0

Published by wimglenn 5 months ago

Added configuration options --structlog-keep, --structlog-evict, and --structlog-explicit, for when the default plugin configuration is not adequate.

pytest-structlog - v0.9

Published by wimglenn 5 months ago

What's Changed

Full Changelog: https://github.com/wimglenn/pytest-structlog/compare/v0.8...v0.9

pytest-structlog - v0.8

Published by wimglenn 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/wimglenn/pytest-structlog/compare/v0.7...v0.8

pytest-structlog - v0.7

Published by wimglenn 9 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/wimglenn/pytest-structlog/compare/v0.6...v0.7

pytest-structlog - v0.6

Published by wimglenn almost 2 years ago

What's Changed

Full Changelog: https://github.com/wimglenn/pytest-structlog/compare/v0.5...v0.6

pytest-structlog - v0.5

Published by wimglenn about 3 years ago

pytest-structlog - v0.4

Published by wimglenn over 3 years ago

  • Adds a "captured structlog call" section in the test report in case of failed tests
  • Reverts use of structlog.reset_defaults() in fixture setup. This caused issues in certain non-default configurations. Users should mock out their own structlog configure call in their test suite if necessary, with a pytest auto-use fixture.
pytest-structlog - v0.3

Published by wimglenn over 4 years ago

pytest-structlog - v0.2

Published by wimglenn about 5 years ago

  • Add basic usage notes for the fixture (which is displayed in pytest --fixtures output)
  • Reset logging config on teardown (thanks @karlb)
pytest-structlog - v0.1

Published by wimglenn about 6 years ago

Initial release.

Package Rankings
Top 7.07% on Pypi.org