> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/ja/apurikshon/packages/packaging-requests/application-package-testing.md).

# アプリケーション パッケージ テスト

### 概要

アプリケーションのパッケージ化依頼のほとんどは、インストールの仕組み、終了コード、および展開動作を検証するために、4段階のテストサイクルを経ます。アプリケーション機能の機能テストは、顧客側のアプリケーション所有者の責任です。

### テスト段階

#### 1. サンドボックスシステムへの手動インストール

* アプリケーションのバイナリは、ベンダーのドキュメントに従って手動でインストールされます
* 依存関係と環境要件を特定し、文書化します
* 既存のインストール上への再インストールをテストします
* ベンダーのバイナリで提供されるアンインストールを検証します

#### 2. コマンドラインインストール

* 提供されたサイレントインストールのパラメーターとフラグをテストし、検証します
* 成功および失敗のシナリオについて終了コードを検証します
* インストールスクリプトを作成し、実行します
* 自動化された再インストールおよびアンインストール手順を検証します
* すべての処理がユーザー操作なしで実行されることを確認します

#### 3. パッケージ準備

* インストールファイルをRealmJoinのパッケージ形式（NuGet、intunewin）に整理します
* パッケージのメタデータとスクリプトを定義し、必要に応じてドキュメントを追加します

#### 4. 自動インストール

* パッケージを新しいサンドボックスシステムにインストールします
* インストール動作を以前の手動テストおよびCLIテストと照合して検証します
* パッケージベースの再インストールとアンインストールをテストします
* すべてのシナリオで終了コードを検証します
* **マルウェアスキャン** は、必須のセキュリティゲートとして、自動ビルド中にgeneric-packagesに対して実行されます


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.realmjoin.com/ja/apurikshon/packages/packaging-requests/application-package-testing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
