关于golang测试覆盖率及性能测试
命令行同样可以使用
在powershell 需要调试的文件夹下go test -coverprofile=c.out
继续输入go tool cover -html=c.out 浏览器打印具体代码覆盖率
继续探讨性能测试语句如下
命令行同样可以执行性能测试
命令行同样可以使用
在powershell 需要调试的文件夹下go test -coverprofile=c.out
继续输入go tool cover -html=c.out 浏览器打印具体代码覆盖率
继续探讨性能测试语句如下
命令行同样可以执行性能测试