Skip to content

Support throwing errors from within @Test attributes #166

Closed
@jmjauer

Description

@jmjauer

Description

The argument parameter of Test(_:_:arguments:) is currently very limited.

Adding a version of Test(_:_:arguments: () async throws -> C) would greatly improve the parameterisation possibilities (e.g. async loading of parameters from a file).

Expected behavior

No response

Actual behavior

No response

Steps to reproduce

No response

swift-testing version/commit hash

No response

Swift & OS version (output of swift --version && uname -a)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions