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

[BetaTest] Provide a "preview test coverage" while providing test case suggestions #261

Open
kagami-l opened this issue Feb 9, 2024 · 0 comments
Assignees
Labels
P2 Long term work

Comments

@kagami-l
Copy link
Contributor

kagami-l commented Feb 9, 2024

我觉得给出测试点选项那个功能特别厉害。有没有可能进一步延伸,做一个测试覆盖预览的功能,在用户真正执行前,就能对我们给出的测试用例所覆盖的行数+逻辑分支这两个比较重要的点预先给出结果。
初衷是,一些用户的代码库基建不一定那么完善,可能都没有在CI里加上测试覆盖报告的step。而这一功能能比较直白、具象的给出这一概念,引导用户关注这一数据。
个人体验,那个测试函数的选项有些接近condition coverage了。

I think the function that provides test point options is particularly powerful. Is it possible to further extend it to provide a preview of test coverage? Before the user actually executes, the two important points of the lines covered by the test cases we provide + the logic branch are given in advance.
The original intention is that the basic construction of some users' code libraries may not be so perfect, and they may not have added a test coverage report step in the CI. This function can give this concept in a straightforward and concrete way, guiding users to pay attention to this data.

@kagami-l kagami-l added the P2 Long term work label Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Long term work
Projects
None yet
Development

No branches or pull requests

1 participant