问题:
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