Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问有展示报告的 HTML 网页等 GUI 吗?或者输出 JSON 文本也行 #349

Open
TommyLemon opened this issue Aug 19, 2023 · 5 comments
Labels
documentation Improvements or additions to documentation

Comments

@TommyLemon
Copy link

TommyLemon commented Aug 19, 2023

第一次上手,几分钟就顺利对接零代码单元测试 unitauto-go 跑起来了,感谢这个项目及贡献者们
https://github.com/TommyLemon/unitauto-go
image
image

目前从文档和实际体验来看,覆盖率只能看表格形式的日志,不太直观,也不方便集成到其它项目,希望有 HTML/JSON 格式输出谢谢~
类似 Java 版 jacoco 的 HTML 报告,或 unitauto-py 的 HTML 报告(Python coverage 库):
https://github.com/TommyLemon/unitauto-py
image
image

类似 issue:
#256

@e06084
Copy link
Contributor

e06084 commented Aug 25, 2023

go已经有一些工具可以转,比如:https://github.com/axw/gocov

@TommyLemon
Copy link
Author

go已经有一些工具可以转,比如:https://github.com/axw/gocov

@e06084 goc 生成的覆盖率报告文件,也能用 gocov 来转成 HTML 吗?

@e06084
Copy link
Contributor

e06084 commented Sep 24, 2023

go已经有一些工具可以转,比如:https://github.com/axw/gocov

@e06084 goc 生成的覆盖率报告文件,也能用 gocov 来转成 HTML 吗?

可以的

@CarlJi CarlJi added the documentation Improvements or additions to documentation label Oct 6, 2023
@CarlJi
Copy link
Collaborator

CarlJi commented Oct 6, 2023

Hi @TommyLemon Thanks for your requests. And sure, It would be beneficial to have visualized demonstrations or documentation for the goc project. I have been planning to do this all along.

@TommyLemon
Copy link
Author

@CarlJi
thx, I am looking forward to ur new achievements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants