Skip to content

Support for Swift Testing #1509

Open
Open
@jiawen

Description

@jiawen

Swift Testing is a new framework introduced in Swift 6.0 and Xcode 16.0.

When I define a simple parameterized test that passes, bazel test //my_pkg:my_test runs the test but return:

✔ Test "testSnapExposureTimeLessThanOneSecond" passed after 0.002 seconds.
✔ Test run with 1 test passed after 0.002 seconds.
error: no tests were executed, is the test bundle empty?

I imagine it's something silly like not packaging the test output in a format Bazel expects.

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