aboutsummaryrefslogtreecommitdiff
path: root/languages/elisp
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-22 15:07:32 -0500
committerCraig Jennings <c@cjennings.net>2026-05-22 15:07:32 -0500
commit7f17f6116f846ce0817da2caca4855cc7e72d576 (patch)
tree8fc1bb3602b12a9e7117866bb9e22c2ce4044401 /languages/elisp
parent6a0f6d6517e2434f9249fc5e98ae3d0b5e23e45f (diff)
downloadrulesets-7f17f6116f846ce0817da2caca4855cc7e72d576.tar.gz
rulesets-7f17f6116f846ce0817da2caca4855cc7e72d576.zip
docs(languages): revise python-testing SQLite and ORM-mocking guidance
Two audit fixes. The "prefer in-memory SQLite" advice is risky when prod is Postgres or MySQL — SQLite diverges on query semantics, constraints, transactions, JSON, time zones, and indexes, so a test can pass on SQLite and fail in prod. ORM/query tests now use a production-like DB, with SQLite reserved for pure unit tests. The "never mock the ORM" rule is also clarified: don't mock ORM internals, but a thin orchestration unit can inject a fake at a deliberate data-access port it owns.
Diffstat (limited to 'languages/elisp')
0 files changed, 0 insertions, 0 deletions