Gradle: How to Display Test Results in the Console in Real Time?

后端 未结 16 1049
隐瞒了意图╮
隐瞒了意图╮ 2020-11-28 00:39

I would like to see test results ( system.out/err, log messages from components being tested ) as they run in the same console I run:

gradle test
         


        
16条回答
  •  爱一瞬间的悲伤
    2020-11-28 01:29

    You could run Gradle with INFO logging level on the command line. It'll show you the result of each test while they are running. Downside is that you will get far more output for other tasks also.

    gradle test -i
    

提交回复
热议问题