Metadata-Version: 2.4
Name: pytest-autoprofile
Version: 0.17.0
Summary: `line_profiler.autoprofile`-ing your `pytest` test suite
Author-email: "Terence S.-C. Tsang" <t.tsang.sci@gmail.com>
Project-URL: repository, https://gitlab.com/TTsangSC/pytest-autoprofile
Keywords: testing,profiling,pytest,line_profiler
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Testing
Classifier: Operating System :: OS Independent
Classifier: Framework :: Pytest
Classifier: License :: OSI Approved :: MIT License
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: Programming Language :: Python :: 3.13
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENCE.txt
Requires-Dist: exceptiongroup; python_version < "3.11"
Requires-Dist: typing-extensions>=4.10; python_version < "3.13"
Requires-Dist: line_profiler>=5.0
Requires-Dist: pytest>=7.0
Requires-Dist: pluggy>=1.2
Provides-Extra: dev
Requires-Dist: flake8; extra == "dev"
Requires-Dist: mypy; extra == "dev"
Requires-Dist: pytest-doctestplus>=0.10.0; extra == "dev"
Requires-Dist: xdoctest>=0.12.0; extra == "dev"
Dynamic: license-file

<!-- Badges -->

<a href='https://gitlab.com/TTsangSC/pytest-autoprofile/-/releases'
   alt='Badge: release version: "Latest Release" | <VERSION>'>
<img src='https://gitlab.com/TTsangSC/pytest-autoprofile/-/badges/release.svg'>
</a>
<a href='https://gitlab.com/TTsangSC/pytest-autoprofile/-/pipelines'
   alt='Badge: pipeline status: "pipeline" | <STATUS>'>
<img src='https://gitlab.com/TTsangSC/pytest-autoprofile/badges/master/pipeline.svg?ignore_skipped=true'>
</a>

<!-- Logo -->

![Repo mascot: a snake wearing a watch, looking at test results][gitlab-repo-mascot]

<!-- Blurb -->

Overview
--------

This plugin package brings the full power of
[`line_profiler.autoprofile`][line-profiler-autoprofile-docs] to your
[`pytest`][pytest-docs] test suite –
and then more.

Features
--------

- Automatic line profiling of normal tests and
  [doctests][gitlab-docs-doctest-profiling]
- [Import-time rewriting][gitlab-docs-rewriting] of arbitrary
  (test, codebase, external, standard-lib)
  Python modules
- Aggregation of in-process and
  [subprocess line-profiling][gitlab-docs-subprocess-profiling] results

<!-- Link -->

Full documentation
------------------

See the project repository: [GitLab:TTsangSC/pytest-autoprofile][gitlab-repo]

[gitlab-repo]: https://gitlab.com/TTsangSC/pytest-autoprofile
[gitlab-repo-mascot]: https://gitlab.com/TTsangSC/pytest-autoprofile/-/raw/master/assets/mascot.svg
[gitlab-docs-doctest-profiling]: https://gitlab.com/TTsangSC/pytest-autoprofile#doctest-profiling
[gitlab-docs-rewriting]: https://gitlab.com/TTsangSC/pytest-autoprofile#module-rewriting
[gitlab-docs-subprocess-profiling]: https://gitlab.com/TTsangSC/pytest-autoprofile#subprocess-profiling
[line-profiler-autoprofile-docs]: https://kernprof.readthedocs.io/en/latest/auto/line_profiler.autoprofile.html
[pytest-docs]: https://docs.pytest.org/en/stable/index.html
