zsh:找不到命令:genhtml(使用 Codemagic 的 Flutter + 代码覆盖率)
zsh: command not found: genhtml (Flutter + Code Coverage using Codemagic)
我是 DevOps 新手,我想通过 Flutter
中的单元测试 result
创建 code coverage
。
这是我们对 运行 的命令:
flutter test --coverage && genhtml coverage/lcov.info --output=coverage
这是结果:
00:03 +1: All tests passed!
zsh: command not found: genhtml
有人知道如何解决吗?
还有当我运行宁此:
open coverage/index.html
这是结果:
The file /Users/rrifafauzikomara/Documents/speed-interviews-flutter/coverage/index.html does not exist.
有人知道如何解决吗?
这是我关注的tutorial
我按照 this 教程修复它
我是 DevOps 新手,我想通过 Flutter
中的单元测试 result
创建 code coverage
。
这是我们对 运行 的命令:
flutter test --coverage && genhtml coverage/lcov.info --output=coverage
这是结果:
00:03 +1: All tests passed!
zsh: command not found: genhtml
有人知道如何解决吗?
还有当我运行宁此:
open coverage/index.html
这是结果:
The file /Users/rrifafauzikomara/Documents/speed-interviews-flutter/coverage/index.html does not exist.
有人知道如何解决吗?
这是我关注的tutorial
我按照 this 教程修复它