Skip to content

Software testing

test是软件开发过程中非常重要的一环。

wikipedia Software testing

Successful case

应用test的非常成功的案例。

SQLite

SQLite is very carefully tested prior to every release and has a reputation for being very reliable. Most of the SQLite source code is devoted purely to testing and verification. An automated test suite runs millions and millions of test cases involving hundreds of millions of individual SQL statements and achieves 100% branch test coverage. SQLite responds gracefully to memory allocation failures and disk I/O errors. Transactions are ACID even if interrupted by system crashes or power failures. All of this is verified by the automated tests using special test harnesses which simulate system failures.

测试的**全面性**:

  • 可能的场景
  • 代码层: coverage

How SQLite Is Tested描述了sqlite的测试方法。