Maven parallel test output

后端 未结 1 2053
难免孤独
难免孤独 2020-12-16 23:04

When I set my Maven build to run my integration tests in parallel, I see:

01:31:47 -------------------------------------------------------
01:31:47  T E S T          


        
相关标签:
1条回答
  • 2020-12-16 23:12

    Hope, I've got your question right. I think that's because tests that are being running in parallel can't really use the same console to notify their own progress, not technically, but conceptually it doesn't really make sense. Since maven processes the modules concurrently it possible that 2 tests running simultaneously will "share" the console. You'll just get the garbage in an output.

    So instead, I guess you should take a look only on the overall results in the console and go for reports per module.

    Surefire plugin responsible for running the tests generates reports per test.

    There is also surefire report plugin

    Hope this helps

    0 讨论(0)
提交回复
热议问题