pytest-pudb icon indicating copy to clipboard operation
pytest-pudb copied to clipboard

Pytest PuDB debugger integration

Results 12 pytest-pudb issues
Sort by recently updated
recently updated
newest added

Hi there, I'm working on a debian package for this pytest plugin. It would be super useful to have tags in the git repo for releases since the tags could...

Load pudb external breakpoints file if `--pudb` parameter used.

enhancement

Functions like `numpy.testing.assert_equal` add `__tracebackhide__ = True` to their locals to make pytest ignore them in the traceback reporting. The `--pudb` flag should automatically jump up to the first frame...

I want to run a single test, and have PuDB show up on the first line of the test. Is that possible?

To be consistent with this: https://github.com/pytest-dev/pytest/pull/1890

Pass down the current `pudb` instance, received via `self._pudb_get_debugger` Fixes: > ``` > ===================================== warnings summary ====================================== > .../tests/test_sanity.py::test_sanity > .../.venv/lib/python3.9/site-packages/pytest_pudb.py:55: UserWarning: > > Argument(s) ('pdb',) which are declared in...

It is not needed, since the calling chain: - `_enter_pudb` - `post_mortem` - `pudb._get_debugger()` will still call `PuDBWrapper#_get_debugger`, which also calls `self.disable_io_capture()` Avoids the double-prologue: ```console $ pytest -x --pudb...

It is somewhat hard to nowadays "officially use

When this package was written, it was targetting version pytest 2.0, which had no public cleanup interface, and it called the protected `config._cleanup`. In version 2.7 the public [`add_cleanup`](https://github.com/pytest-dev/pytest/commit/715a235b45debf5e71e1409a826d91833014f4b5) flag...