TechPostsFromX on Nostr: Update: I'm now testing without referencing the ORM in tests. Holy hell it's so much ...
Update:
I'm now testing without referencing the ORM in tests. Holy hell it's so much better:
- much more readable since we're only using our own API, which is cleaner
- tests are far easier to author
- assertions better reflect the way the functions are actually used
Love it
Source: x.com/mattpocockuk/status/1847917494893244461
Published at
2024-10-20 09:41:04Event JSON
{
"id": "6491911ba68445242cc06d629be9e09dc065fc215663c0a3c127b449275567ef",
"pubkey": "52d119f46298a8f7b08183b96d4e7ab54d6df0853303ad4a3c3941020f286129",
"created_at": 1729417264,
"kind": 1,
"tags": [],
"content": "Update:\n\nI'm now testing without referencing the ORM in tests. Holy hell it's so much better:\n\n- much more readable since we're only using our own API, which is cleaner\n- tests are far easier to author\n- assertions better reflect the way the functions are actually used\n\nLove it\nhttps://image.nostr.build/46ed6716fcd9095a9f6144195cc43fd5d379737f24d4fe86112b4defeda12504.png\n\nSource: x.com/mattpocockuk/status/1847917494893244461",
"sig": "231a5aa3983efb42c1fbef9b508943b40646f367e2b3c56186f76133d4118eab48a78a2535a44ac379008b55e1c0fba5cf396c2933688486b34893349916f0cf"
}