top | item 30946545

(no title)

thow-58d4e8b | 3 years ago

It gets worse than that. Often, code is pushed into an absurdly wrong level of the development stack, just because it makes testing it easier. For example, something should be a database trigger, but in-memory testing database gets in the way. Other times it strikes all the way to architectural topics - message queues replaced by REST calls, because the former is difficult to mock

discuss

order

mring33621|3 years ago

Yup. I open a 'test-mode-only' socket on our ingestion piece, for integration testing, as I can't easily get onto our MQ (even non-prod).

nicoburns|3 years ago

> in-memory testing database gets in the way

Why would using an in-memory database prevent use of triggers?