Skip to content

Is there a way to retrieve the stack trace of an exception when testing with the CliRunner? #264

Closed

Description

@rcalsaverini

Hi,
I'm writing test for some click commands I have in our application and I'm missing the ability to obtain the stack trace of the exception to locate where the errors that break the test are happening (something like this).

Is there a way to do this?

Thanks.

Activity

  1. untitaker commented on Nov 28, 2014

    @untitaker
    Contributor

    Yes, use the catch_exceptions argument.

  2. untitaker commented on Apr 3, 2015

    @untitaker
    Contributor

    Closing due to inactivity.

  3. locked as resolved and limited conversation to collaborators on Nov 13, 2020
  4. added
    test runner
    on Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    test runner

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions