Monday, 22 February 2021

PyTest: Interactive Output (instead of pure ASCII)

How can I get expandable output from PyTest?

For example the local variables. It would be great if I could expand/collapse them depending on my need.

I think that's where the current text-output of PyTest reaches its limit.

The question: Is there a way to get an interactive output from PyTest?

With interactive I mean to be able to expand/collapse the local variables.

expand-on-demand

Above example is from the django debug page.

I would like to have such an interactive output if I run pytest.

My output looks like this:

pytest-output-text-only



from PyTest: Interactive Output (instead of pure ASCII)

No comments:

Post a Comment