3 ms·
Note that the vast majority of the sqlite tests are functional tests written in TCL and are not "real" unit tests. His test test stuff like "does select (this,
by Erwin 17y ago
Note that the vast majority of the sqlite tests are functional tests written in TCL and are not "real" unit tests. His test test stuff like "does select (this, this, this) return that under these circumstances.
There's some test setup stuff written in C and maybe C-level interface tests, but I think the functional tests are what lets him modify his optimizer, rather than some unit tests which are tightly bound to a specific implementation.
- silentbicycle 17y agoYou're right. I think he and I both are guilty of lumping several kinds of tests (functional/acceptance, integration, etc.) under "unit tests".