| ▲ | RL2024 6 hours ago | ||||||||||||||||
That's true but relying on a highly tested component like SQLite means that you can focus your tests on the interface and your business logic, i.e. you can test that you are persisting to the your datastore rather than testing that your datastore implementation is valid. | |||||||||||||||||
| ▲ | 9rx 6 hours ago | parent [-] | ||||||||||||||||
Your business logic tests will already, by osmosis, exercise the backing data store in every conceivable way to the fundamental extent that is possible with testing given finite time. If that's not the case, your business logic tests have cases that have been overlooked. Choosing SQLite does mean that it will also be tested for code paths that your application will never touch, but who cares about that? It makes no difference if code that is never executed is theoretically buggy. | |||||||||||||||||
| |||||||||||||||||