dph58509 2019-07-04 15:52
浏览 52
已采纳

配置参数cacheTokens在PHPUnit上做了什么?

I was studying the PHPUnit documentation but I could not find a description about the cacheTokens configuration parameter.

I imagine that is something about a generated code, but I have no clue where this is used and what the benefit of turn this parameter on or off.

Thank you!

  • 写回答

1条回答 默认 最新

  • dsk49208 2019-07-06 15:30
    关注

    This attribute configures the in-memory cache of the token streams that are used for code coverage analysis.

    When more than one code coverage report is generated in a single run, enabling this cache will increase memory usage and may reduce the time to generate the reports.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?