semvec/pypi-packages huggingface dataset:
pytest-lineno 0.0.1
A pytest plugin to show the line numbers of test functions
License: MIT
Requires Python: >=3.5

# pytest-lineno

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

## Installation

```sh
pip install pytest-lineo
```

## Usage

```sh
pytest --show-lineno --verbose
```

The output should look like:

```sh
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`
```