We showed off a fun (though unorthodox!) trick in this week's episode: in tests we seed the database with negative IDs! That makes it so they never collide with IDs generated in the test, and we can freely change seeded rows without breaking our tests.
https://www.pointfree.co/episodes/ep352-tour-of-sqlitedata-testing
If you have a fediverse account, you can quote this note from your own instance. Search https://hachyderm.io/users/pointfreeco/statuses/115979501634585530 on your instance and quote it. (Note that quoting is not supported in Mastodon.)
