第5章 ostestr を使用した tempest の実行
ostestr は、testr テストランナーの OpenStack ラッパーです。
5.1. スモークテストの実行
スモークテストとは、最も重要な機能のみを対象とする事前テストの一種です。スモークテストは包括的ではありませんが、実行して問題が検出された場合には、時間を節約できます。
スモークテストを実行するには、以下のコマンドを実行します。
# ostestr '.*smoke'
5.2. ホワイトリストファイルを使用したテストの指定
ホワイトリストファイルは、含めるテストを選択するための正規表現が記載されたファイルです。正規表現は、改行で区切ります。
# ostestr --whitelist-file _<whitelist_file>_
または
# ostestr -w _<whitelist_file>_
5.3. ブラックリストファイルを使用したテストの省略
ブラックリストファイルは、除外するテストを選択するための正規表現が記載されたファイルです。正規表現は、改行で区切ります。
ブラックリストファイルを使用するには、以下のコマンドを実行します。
# ostestr --blacklist-file _<blacklist_file>_
または
# ostestr -b _<blacklist_file>_
5.4. テストの並行同時または順次の実行
テストを順次に実行するには、以下のコマンドを実行します。
# ostestr --serial
複数のテストを同時に実行するには (これがデフォルトです)、以下のコマンドを実行します。
# ostestr --parallel
テストを並行して実行する場合に使用するワーカー数を指定します。
# ostestr --concurrency _<workers>_
または
# ostestr -c _<workers>_
デフォルトでは、この値は CPU 数に設定されます。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.