News for hackers. Stuff that matters.
Re:Is TDD Dead? (2014) by dagss on Wednesday August 26, 2020 @03:18PM (#24286177)
IMO, databases is often an integral part of the program and should be part of the test (a real database in a docker image).

For instance, if you are not relying on unique constraint in the DB to implement idempotency you are probably doing something wrong, and if you are not testing idempotent behaviour you are probably doing something wrong.

There are no comments on this comment yet.