> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-mobile/using-autify-nocode-mobile/test-execution/rerun-a-test-plan.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# テストプランの再実行

## 概要

テストプランを運用していると、失敗したテストのみをもう一度実行したくなることがよくあります。 個々のテストについては、テスト結果詳細画面から再実行できますが、テストプランで多くのシナリオを管理していると、一つ一つ再実行するのが大変だったり、場合によっては再実行用のテストプランを用意する必要があったりします。 このようなニーズに応えるため、テストプラン実行結果から、失敗したテストシナリオ、もしくは失敗した端末を再実行する、テストプラン再実行機能を用意しました。

## 使い方

失敗したテストプラン実行結果を開き、再実行したい条件に合わせて再実行します。

* 同じ条件で対象テストを再実行したい場合
  * **失敗したテストを再実行** をクリックして、再実行します。
* ビルドファイルを指定して対象テストを再実行したい場合
  * **失敗したテストを再実行** ボタン横の下矢印マークをクリックして、**設定して再実行** をクリックします。ビルドファイルを選択し、**失敗したテストを再実行** をクリックして、再実行します。

![](https://1076629499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fngfbmyfc37v4emfzEMM7%2Fuploads%2Fgit-blob-ad239c141d6a5e925abfe1c7fca566658a6852a2%2F%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-07-23%2011.12.54.png?alt=media)

## 再実行の対象

成功以外のステータスのテスト結果 (下図赤色枠のテスト結果) について、再実行されます。

![](https://1076629499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fngfbmyfc37v4emfzEMM7%2Fuploads%2Fgit-blob-25f8a13aec72d55627321b26ce0d3d30bf509162%2Frerun_testplan_before.png?alt=media)

### 再実行されたテスト結果

再実行されたテスト結果について、既に成功していたテスト結果は成功済み かつ スキップのアイコンが表示され、そのアイコンをクリックすると既に成功していたテスト結果に遷移します。

![](https://1076629499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fngfbmyfc37v4emfzEMM7%2Fuploads%2Fgit-blob-84d4333bb59ef785a1e08b165126ecd94f0bd954%2Frerun_testplan.png?alt=media)

## 利用上の留意点

### 再実行したテストプランの再実行

再実行したテスト結果にも失敗したテスト結果が含まれる場合、もう一度再実行することが可能です。

### シナリオが変更されていた場合

再実行時にテストプランから失敗していたシナリオが変更されていた場合、更新された内容でシナリオは再実行されます。 また、再実行時にテストプランから失敗していたシナリオが削除されていた場合、そのシナリオは再実行から除外されます。

### 廃止されたテスト実行環境

元のテスト実行時に使われていたテスト実行環境が廃止された場合、再実行は行えません。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.autify.com/nocode-mobile/using-autify-nocode-mobile/test-execution/rerun-a-test-plan.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
