問題:
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:我想查看測試結果(system.out/err,來自正在測試的組件的日誌消息),因爲它們在我運行的同一個控制檯中運行:
gradle test
And not wait until tests are done to look at the test reports ( that are only generated when tests are completed, so I can't "tail -f" anything while tests are running )並且不要等到測試完成再查看測試報告(只有在測試完成時纔會生成,所以在測試運行時我不能“tail -f”任何東西)
解決方案:
參考一: https://en.stackoom.com/question/Gd8m參考二: https://stackoom.com/question/Gd8m