Giter VIP home page Giter VIP logo

Comments (5)

rentiansheng avatar rentiansheng commented on September 8, 2024

建议重新搞一个register 功能, 上报当前测试服务的服务名,分支,commit id。 后续磕一个根据来写来做数据合并。 增量代码可以用git diff + AST 来完成。

from goc.

CarlJi avatar CarlJi commented on September 8, 2024

建议重新搞一个register 功能, 上报当前测试服务的服务名,分支,commit id。 后续磕一个根据来写来做数据合并。 增量代码可以用git diff + AST 来完成。

@rentiansheng 你这里为啥用到AST了呢?是要做什么?

from goc.

rentiansheng avatar rentiansheng commented on September 8, 2024

建议重新搞一个register 功能, 上报当前测试服务的服务名,分支,commit id。 后续磕一个根据来写来做数据合并。 增量代码可以用git diff + AST 来完成。

@rentiansheng 你这里为啥用到AST了呢?是要做什么?
版本内可能会有n commit, 多次不同commit 覆盖率报告(c1, c2, c3)?

如果我在c3 的提交中,只是修改了注释?是不是用c2的覆盖率即可。

from goc.

DaisyJiao11 avatar DaisyJiao11 commented on September 8, 2024

我们也遇到了这个问题,目前有什么解决方案吗?

from goc.

CarlJi avatar CarlJi commented on September 8, 2024

@DaisyJiao11 这个issue中提到的 "发布多次代码",意味着代码是有变动的。而对go 覆盖率来讲,变动的代码是没法办做合并的。
所以这里所谓 "统计全量覆盖率",本质更是个业务问题,关键是怎么定义这个 "全量覆盖率"。

from goc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.