向我指出一些带有*(单元)测试的开源项目 [英] Point me to some open source projects *with* (unit) tests

查看:29
本文介绍了向我指出一些带有*(单元)测试的开源项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为参考,我正在寻找一些带有单元测试的开源项目.

For reference, I'm looking for some open source projects with unit tests.

编辑 - 肯定必须更多!

推荐答案

SQLite 有一个非常全面的测试套件.它本身可能不是单元测试,但它非常全面.

SQLite has a very comprehensive test suite. It may not be unit testing, per se, but it is quite comprehensive.

从 3.6.16 版本开始(所有统计数据在报告中反对该版本SQLite),SQLite 库由大约 63.9 KSLOC 组成C 代码.(KSLOC 表示数千源代码行"或其他单词,不包括空格的代码行行和注释.)相比之下,该项目有 709 倍的测试代码和测试脚本 - 45385.9 KSLOC.

As of version 3.6.16 (all statistics in the report are against that release of SQLite), the SQLite library consists of approximately 63.9 KSLOC of C code. (KSLOC means thousands of "Source Lines Of Code" or, in other words, lines of code excluding blank lines and comments.) By comparison, the project has 709 times as much test code and test scripts - 45385.9 KSLOC.

这篇关于向我指出一些带有*(单元)测试的开源项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆