On 11 Jul 2016, at 23:16, Daniel Hahler wrote:
On 09.07.2016 13:02, Florian Schulze wrote:

I just released https://pypi.python.org/pypi/pytest-pdb

It adds a ``whichtest`` command to pdb. It prints identifying information about the current test you are in. Much easier than looking through the stack trace of ``which`` and it prints info on parameters.

Very nice!

Just tried it and it works as advertised. Looking forward to more awesomeness in this regard!

But pdbpp does not autocomplete the "whichtest" command, can this be done?

Not sure. The issue is, that I inject methods into the pdb.Pdb class and the autocomplete setup is done before. Maybe if we do the patching on module import it will be early enough. Otherwise we might have to add specific code to update autocomplete, but then we might have to support all kinds of pdb addons.

Regards,
Florian Schulze
_______________________________________________
pytest-dev mailing list
pytest-dev@python.org
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to