Contents

bug(_:id:_:)

Constructs a bug to track with a test.

Declaration

static func bug(_ url: String? = nil, id: String, _ title: Comment? = nil) -> Self

Parameters

  • url:

    A URL that refers to this bug in the associated bug-tracking system.

  • id:

    The unique identifier of this bug in its associated bug-tracking system.

  • title:

    Optionally, the human-readable title of the bug.

Mentioned in

Return Value

An instance of Bug that represents the specified bug.

See Also

Annotating tests