Laeserin on Nostr: I was taught to handle errors and edge cases in the code, and to then manually test ...
I was taught to handle errors and edge cases in the code, and to then manually test if the code catches the error, and then write a unit test to repeat the manual test.
Published at
2025-05-24 05:26:32Event JSON
{
"id": "2fdd56cdffe664b49df13a28ba0a6d160e21305586e0860f15019b59b6d7e431",
"pubkey": "dd664d5e4016433a8cd69f005ae1480804351789b59de5af06276de65633d319",
"created_at": 1748064392,
"kind": 1,
"tags": [
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"wss://nostr.land/",
"mleku"
],
[
"e",
"6d8251eacddb5c32e0585f5dbf595e211407536ea222ad44c350317a8c34e88e",
"wss://theforest.nostr1.com/",
"root"
],
[
"e",
"576f2cc43c0f69e838040dc5f0d4025a8ccc49d8602f350dccc4975182030c78",
"wss://theforest.nostr1.com/",
"mention"
],
[
"e",
"ce943ea30434252fbee7496f6ed42a9dad88b71b630c32ffc63255273330af93",
"wss://realy.mleku.dev/",
"reply",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
]
],
"content": "I was taught to handle errors and edge cases in the code, and to then manually test if the code catches the error, and then write a unit test to repeat the manual test.",
"sig": "8225c22f2a6735fefd8b8b4a967849837c284c4092c972276d59c5b7f2a9ca91f7a84c3d52d19b258469fa3d754293866654853f71073c6f0a9f090861f8baac"
}