doc: add useful blogs

This commit is contained in:
jichangjun 2020-11-06 09:49:17 +08:00
parent 532e41f8a7
commit 9a2b7fe01b
2 changed files with 9 additions and 0 deletions

View File

@ -69,6 +69,11 @@ We provide a vscode extension - [Goc Coverage](https://marketplace.visualstudio.
2. After service restarted and test finished, collect coverage again with `goc profile -o b.cov`
3. Merge two coverage profiles together: `goc merge a.cov b.cov -o merge.cov`
## Blogs
- [Go语言系统测试覆盖率收集利器 goc](https://mp.weixin.qq.com/s/DzXEXwepaouSuD2dPVloOg)
## RoadMap
- [x] Support code coverage collection for system testing.
- [x] Support code coverage counters clear for the services under test at runtime.

View File

@ -70,6 +70,10 @@ goc 可以实时收集长时运行的 golang 服务覆盖率。收集步骤只
2. 测试结束后,通过 `goc profile -o b.cov` 命令再收集一次覆盖率
3. 通过 `goc merge a.cov b.cov -o merge.cov` 命令合并两次的覆盖率
## Blogs
- [Go语言系统测试覆盖率收集利器 goc](https://mp.weixin.qq.com/s/DzXEXwepaouSuD2dPVloOg)
## RoadMap
- [x] 支持系统测试中收集代码覆盖率