Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
snovv_crash
on March 15, 2017
|
parent
|
context
|
favorite
| on:
Zen and the Art of Unit Testing
Yes, but a large portion of code that needs testing is simple inserting, queries and joins, and SQLite can do this without any problems.
You can push complex or db-specific work to slower test groups, but not everything requires it.
abiox
on March 15, 2017
[–]
even this is less clear - for some dbs it's normal to use a sequence for rowid's (vs some sort of autoincrement) and i don't think sqlite offers all the same behavior there.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
You can push complex or db-specific work to slower test groups, but not everything requires it.