28

【spock】单测竟然可以如此丝滑 - - SegmentFault 思否

 4 years ago
source link: https://segmentfault.com/a/1190000020894739
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
在之前的关于swagger文章里提到过,程序员最讨厌的两件事,一件是别人不写文档,另一件就是自己写文档。这里如果把文档换成单元测试也同样成立。每个开发人员都明白单元测试的作用,也都知道代码覆盖率越高越好。高覆盖率的代码,相对来说出现 BUG 的概率就越低,在线上运行就越稳定,接的锅也就越少,就也不会害怕测试...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK