已经实现了一些基本的功能了,但是还有很多待完善和改进的地方,找感兴趣的小伙伴一起来开发~
一个比较当前提交和上次提交修改的代码的覆盖率的例子:
$ incrcov HEAD^ HEAD
+----------------+-----------+-------------+---------------+---------------+--------------+
| Path | Method | Total Lines | Covered Lines | Coverage Rate | Missed Lines |
+----------------+-----------+-------------+---------------+---------------+--------------+
| app/demo2.rb:6 | say_world | 2 | 1 | 50.0% | 7 |
+----------------+-----------+-------------+---------------+---------------+--------------+
Overall incremental test coverage: 75.0%
Number of updated methods: 2
Number of low test coverage(<90%) methods: 1
1
luoyou1014 2019-08-27 09:14:03 +08:00 1
在这边发响应的人太少,建议发到隔壁 ruby china 社区
|
2
jfry OP 我去试试。。。谢啦
|