我正在为Mathematica寻找一个代码覆盖率工具来确定测试覆盖率。
我只知道测试框架:https://reference.wolfram.com/language/tutorial/UsingTheTestingFramework.html
发布于 2020-01-26 18:14:38
您可以使用与此处描述的"Lint" paclet相同的方式安装名为"Coverage"的paclet:https://mathematica.stackexchange.com/a/192690/12
完成后,重新启动系统并在文档中搜索"coverage“。
更新:这个paclet现在被称为"Instrumentation"。
https://stackoverflow.com/questions/59848967
复制相似问题