0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Gradleのtestタスクの進捗を出力する

Posted at

Gradleのtestタスクの進捗を出力

gradle testを実行した際に、テストの実行結果をコンソールへ出力する。

apply plugin: 'java'

test {
    testLogging {
        // テストの実行結果を出力
        events 'passed', 'failed', 'skipped'
        debug {
            // --debugでの実行時
            events 'started', 'passed', 'skipped', 'failed'
            exceptionFormat 'full'
        }
    }
}

参考

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?