问题描述
我正在使用 stryker-mutator 进行突变测试,在运行特定文件时,我收到以下突变结果
[Survived] StringLiteral
- logger.debug("Referer not defined");
+ logger.debug("");
[Survived] Arithmeticoperator
- refresh_time * 60 * 1000
+ refresh_time * 60 / 1000
测试和覆盖 StringLiterals、Arithmenticoperators 等的最佳方法是什么? 我可以为 Conditional、Equality 和 BlockStatments 做到这一点。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)