在 IDEA 使用运行覆盖率测试时报了如下错误:
无法附加测试报告到测试框架,或测试框架意外退出
控制台日志:
At least 5 arguments expected but 1 found.
'C:\Users\JiaJia\AppData\Local\Temp\coveragearg'
Expected arguments are:
- data file to save coverage result
- a flag to enable tracking per test coverage
- a flag to calculate coverage for unloaded classes
- a flag to use data file as initial coverage, also use it if several parallel processes are to write into one file
- a flag to run coverage in sampling mode or in tracing mode otherwise