Skip to main content

pytest-lineno

A pytest plugin to show the line numbers of test functions.

Installation

pip install pytest-lineo

Usage

pytest --show-lineno --verbose

The output should look like:

tests/test_file.py:0::test_func PASSED               [ 50%]
tests/test_file.py:5::TestClass::test_method PASSED  [100%]
                # ^^^
                # By clicking `tests/test_file.py:5`,
                # you can jump to `TestClass.test_method`

Metadata

Release files for pytest-lineno 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-lineno 0.0.1
File Size Uploaded
pytest-lineno-0.0.1.tar.gz 1.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-lineno 0.0.1
File Interpreter ABI Platform
pytest_lineno-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 kB

Release files / pytest-lineno-0.0.1.tar.gz

Download URL pytest-lineno-0.0.1.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9859f54b3b4bdca8890f10c2bd3611aafb5abf24083b166a167ac0b1ec3ff84a
BLAKE2b-256 checksum
How to use checksums
68b148f631f9f493b907cb6c4af87f7466a9d996f87e9f87e0d5d1e49c261e63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2.post20201201 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

Release files / pytest_lineno-0.0.1-py3-none-any.whl

Download URL pytest_lineno-0.0.1-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c162631575ccbcd9a3bb9f547a9d23ec3fa397a87bccdb038a302f2dc77914c
BLAKE2b-256 checksum
How to use checksums
51932b0e6f5f4aae783815905b0170ac3778ee4060e4a0cccb75fd8d63c5b861
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2.post20201201 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page