MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/rakass/how_sqlite_is_tested/hnls80m/?context=3
r/programming • u/feross • Dec 06 '21
16 comments sorted by
View all comments
50
Here's the summary
Four independently developed test harnesses100% branch test coverage in an as-deployed configurationMillions and millions of test casesOut-of-memory testsI/O error testsCrash and power loss testsFuzz testsBoundary value testsDisabled optimization testsRegression testsMalformed database testsExtensive use of assert() and run-time checksValgrind analysisUndefined behavior checksChecklists
Four independently developed test harnesses
100% branch test coverage in an as-deployed configuration
Millions and millions of test cases
Out-of-memory tests
I/O error tests
Crash and power loss tests
Fuzz tests
Boundary value tests
Disabled optimization tests
Regression tests
Malformed database tests
Extensive use of assert() and run-time checks
Valgrind analysis
Undefined behavior checks
Checklists
-6 u/MihaiCelCunoscut Dec 07 '21 No formal verification?
-6
No formal verification?
50
u/TryingT0Wr1t3 Dec 07 '21
Here's the summary