Skip to content

"Print traceback" does nothing when the exception occurred in a test #2900

@maxrothman

Description

@maxrothman

Steps to reproduce:

  • Run a test that throws an exception using Calva's test-running features (e.g. Run Current Test)
  • The test fails, and the short form of the exception is printed to the REPL output buffer (repl.calva-repl). A "Print traceback" button is rendered.
  • Click the "Print traceback" button

Expected behavior: the traceback is printed

Actual behavior: nothing happens

Also, the exception is not bound to *e. This may be a reasonable approach (what would you bind to *e if multiple tests failed?), but since Calva does not print ex-data, it makes it difficult to debug such exceptions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions