Jacob Kaplan-Moss

📌 How SQLite Is Tested

SQLite’s testing infrastructure is nothing short of inspired: “SQLite [...] consists of approximately 62.2 KSLOC of C code. [...] By comparison, the project has 716 times as much test code and test scripts—44568.6 KSLOC. [...] The TCL test suite obtains 99.37% statement coverage [... and] 95.16% branch coverage.”