> 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/apuri/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:

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

The question should be specific, self-contained, and written in natural language.
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.
