Slide 11
Slide 11 text
h2 h3 サマリ
Command-Line Options Execution Isolation
--process-isolation 各テストを個別のプロセスで実行。
--globals-backup 各テスト前にグローバル変数・スーパーグローバル変数を保存、テスト後に復
元。
--static-backup 各テスト前にクラスの静的プロパティを保存、テストに復元。
Risky Tests
--strict-coverage コードカバレッジの測定を厳密にする。
--strict-global-state グローバル状態の変更を厳密にする。
--disallow-test-output テスト中の出力を厳密にする。
--enforce-time-limit テストサイズに基づく時間制限を適用。
--default-time-limit 時間制限がないテストのデフォルト時間制限。
--dont-report-useless-tests 何もしないテストは報告しない。
Automatically stop when…
--stop-on-defect 最初にエラー、失敗、警告、危険が発生した場合にテストを停止。
--stop-on-error|failure|warning|risky|deprecation|notice|skipped|incomplete
エラー、失敗、警告、危険、非推奨、通知、スキップ、不完全を確認したときにテストを停止。
Exit with error code when…
--fail-on-warning|risky|deprecation|notice|incomplete|skipped 警告、危険、非推
奨、通知、不完全、スキップが1件以上あればテストを失敗とする。
Test Result Cache
--cache-result 並び替え等のためにテスト結果をキャッシュする。
--do-not-cache-result テスト結果をキャッシュしない。
Test Order
--order-by default, defects, depends, duration, no-depends,
random, reverse, sizeのカンマ区切りでテストを並び変える。
--random-order-seed ランダムで並び変える場合のシードを指定する。
3. The Command-Line Test Runner