Up to now we call py.test
via Jenkins.
If a test fails, we see the usual stacktrace like this
Traceback (most recent call last):
File "/home/u/src/foo/bar/tests/test_x.py", line 36, in test_schema_migrations
errors, out))
AssertionError: Unknown output: ["Migrations for 'blue':", ...]
It would be really great, if I could see local variables like in the django debug page (See https://djangobook.com/wp-content/uploads/figure2_3a.png).
.... But they should only be visible if I want to see them. I guess this means I need a different format than text. Maybe HTML?
Is there a way to enable this?
I never used the tool Sentry. But AFAIK this can display nice tracebacks with local variables.