# 告訴 TestFlight 測試人員要測試什麼

> 讓 Agent 為建置版本撰寫測試內容說明（可以用一種或多種語言），查看或更改說明，以及移除說明。

Source: https://air.build/tw/docs/app-store/tell-testers-what-to-test/

每個 TestFlight 建置版本都可以附帶測試內容說明，用幾行文字告訴測試人員有哪些更改、應該試用什麼。Apple 的說明指出，擁有該建置版本的每個群組中的測試人員都能看到這些說明。測試人員在 Apple 的 TestFlight App 中閱讀說明。請參閱 Apple 的[加入內部測試人員](https://developer.apple.com/help/app-store-connect/test-a-beta-version/add-internal-testers)和[邀請外部測試人員](https://developer.apple.com/help/app-store-connect/test-a-beta-version/invite-external-testers)。

> [!NOTE]
> **TestFlight** 標籤頁不會顯示也無法編輯測試內容。請在專案的聊天中詢問 Agent。它會使用 `asc builds test-notes`（列在 [asc：建置版本與 TestFlight](https://air.build/tw/docs/cli/asc-builds/#builds) 的 `builds` 下）。

## 在上傳時一併要求

Agent 可以在上傳建置版本時撰寫說明：`asc builds upload` 和 `asc publish testflight` 接受 `--test-notes` 以及 `--locale`。在要求建置時，說明測試人員應該試用什麼：

```text
Upload a new build to TestFlight. In What to Test, ask testers to try dark mode and to save a note while offline.
```

如果你使用了 **TestFlight** 標籤頁中的 **發佈**，請在 Agent 工作時在聊天中寫下同樣的內容。請參閱[用 TestFlight 分享 Beta 版](https://air.build/tw/docs/app-store/test-with-testflight/#upload-a-new-build)。

## 為建置版本撰寫說明

對於已經上傳的建置版本，請在專案的聊天中提出要求，例如：

```text
For build 1.4 (12), set What to Test to: "Try the new dark mode and tell us if any screen is hard to read."
```

1. Agent 按 ID 或建置編號找到該建置版本，或者使用 App 的最新建置版本（也可以是某個版本的最新建置版本）。
2. 它用 `asc builds test-notes create` 以一種語言儲存說明。如果該建置版本已有這種語言的說明，原有說明會被取代。如果 App 還沒有這種語言的 TestFlight 資訊，`asc` 會先加入，並告知這一點。
3. Agent 告訴你它儲存了什麼。

`asc` 會刪除說明中的所有 `<`，並告知 Agent。它會拒絕表情符號、象形符號、變體選擇符和私人使用區字元，並指出被拒絕的字元。請用純文字撰寫說明。

說明只屬於一個建置版本。下一個建置版本到來時，也請為它要求說明，或在上傳時一併要求。

## 加入其他語言

每種語言都有各自的說明。請提出要求，例如：

```text
Add the What to Test notes for build 12 in Japanese and German too.
```

Agent 會翻譯說明，並分別儲存每種語言，例如 `ja` 和 `de-DE`。

## 查看或更改說明

請提出要求，例如：

```text
What does build 12 tell testers to test?
```

Agent 會用 `asc builds test-notes list` 列出所有語言的說明，或用 `asc builds test-notes view` 列出一種語言的說明。要更改說明，請說明應該改成什麼。Agent 會用 `asc builds test-notes update` 取代說明。

## 移除說明

請提出要求，例如：

```text
Remove the German What to Test notes from build 12.
```

`asc builds test-notes delete` 會從一個建置版本中移除一種語言的說明。它需要 `--confirm`，所以 Agent 會先詢問你。移除的說明無法復原。要再次顯示說明，請讓 Agent 重新撰寫。

## 常見問題

**我能在 TestFlight 標籤頁中撰寫說明嗎？**

不能。該標籤頁顯示建置版本、群組和測試人員。請詢問 Agent，或在網頁版 App Store Connect 中撰寫說明。

**Agent 說說明中包含 App Store Connect 會拒絕的字元。**

說明中有表情符號或其他 App Store Connect 拒絕的符號。`asc` 會指出這些字元。請讓 Agent 在儲存說明時去掉它們。

**儲存的說明中少了一些字元。**

`asc` 會在傳送說明前刪除 `<`，因為 App Store Connect 會拒絕它。它還會刪除某些無法與前一個字母組合的重音符號。發生這種情況時，Agent 會收到告知。

**我的所有群組看到的說明都一樣嗎？**

是的。Apple 的說明指出，擁有該建置版本的每個群組中的測試人員都能看到這些說明。

**我從自己的 AI 助理使用 AirBuild。**

當你的助理把建置版本傳送給 TestFlight 群組時，它也可以設定測試內容，通常使用 App 的主要語言。請參閱[從你的 AI 助理邀請 TestFlight 測試人員](https://air.build/tw/docs/connect/manage-testflight-from-your-ai-assistant/#send-a-build-to-the-group)。要連接你的助理，請參閱 [MCP 伺服器](https://air.build/tw/docs/connect/mcp/)。
