結果へのタグ付け

This page is not available in the language you requested. You have been redirected to the English version of the page.
Link to this page copied to clipboard
Not for use with personal data

タグ付けは、スキャンにメタデータを追加するのに役立つ機能で、 axe Developer Hub のUIに表示されます。チームにとって便利なタグには、チーム名、ビルド番号、シミュレータのバージョンなどがあります。

タグ付きでスキャンを送信する

以下の例では、パラメータを使用し、 withTags という名前のタグを "build: 0.0.1" スキャンに添付しています。

func testAccessibility() throws {
    guard let result = try axe?.run(onElement: XCUIApplication()) else {
        XCTFail()
        return
    }
    try axe?.postResult(result, withTags: ["build: 0.0.1"])
}