Skip to content

Support Stacktrace when test crashes #35

Description

@bigbangvn

Currently, when tests crashes, seems there is no stack trace. That would help a lot to investigate issue, especially for me when I migrate a project to bazel and some unit test crash.

How to reproduce:
Just put fatalError("") in unit tests or in testing swift code.

A similar issue is opened in Bazel but it seems belong the this xctestrunner: bazelbuild/bazel#8050

Activity

  1. albertdai commented on Oct 28, 2021

    @albertdai
    Contributor

    Bang, could you find the crash reports in the xcresult generated under $TEST_UNDECLARED_OUTPUTS_DIR?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions