Confluence 4.3 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
The JUnit Report macro displays a summary of JUnit test results from a directory accessible by the Confluence server. JUnit is a unit testing framework which allows programmers to ensure that individual units of Java source code are functioning correctly.
JUnit Report マクロは以下のスクリーンショットのように表示されます。
スクリーンショット: Confluence の JUnit レポート マクロ
When generating reports from the JUnit Report macro, set the Apache Ant formatter to 'XML'.
Using the JUnit Report Macro
ページに JUnit レポート マクロを追加するには:
オートコンプリートでマクロを素早く入力する方法 To edit an existing macro: Click the macro placeholder and choose Edit. This will display the parameters of the macro in the Macro Browser.
パラメーター
パラメータは、マクロ出力の内容や形式を制御するために設定するオプションです。
パラメーター | 既定 | 説明 |
|---|---|---|
URL of the test result XML file | なし | 特定のテスト結果 XML ファイルの URL。両方を使用している場合は、テスト結果 XML ファイルのディレクトリ (URL) が上書きされます。 Confluence インスタンスからの例: 匿名ユーザー アクセスのない Confluence インストールの場合、URL パラメーター形式でこのパラメーターの一部としてログイン資格情報を指定できます。
|
Directory (URL) of your test result files | なし | テスト結果ファイルを含むディレクトリの URL。XML ファイル自体ではなく、ディレクトリ名にする必要があります。両方を使用している場合は、テスト結果 XML ファイルの URL が上書きされます。 Example, for a local drive: ネットワーク ドライブでの例: |
Report Detail | すべて | レポートの詳細すべて、固定、概要 または failuresonly を使用できます。 |
| Debug | なし | 障害の内容とともに、エラー メッセージを表示します。 |
関連トピック
Take me back to the Confluence User's Guide.

