Oddbean new post about | logout

Notes by Ben Pate 🤘🏻 | export

 nostr:npub1h73s7j2mdwzzv6a2fm9tfjchlaw4r7a59pfl0keqrahfja2k3stq4s8pv9 nostr:npub1fmhk33ta7scnlmhd... 
 Just this: there are tons of ways that an API call can fail, but most Fediverse software just returns something unhelpful, like 500 Internal Server Error.

For production software, that’s probably reasonable, but a well-written test suite should help people debug, not just tell them about the bug.

So if I have a voice, a test suite should really return errors like: “this message was not accepted because it is missing a ‘name’ field.”

 @e2bc32de @4eef68c5 
 If you could test just 10 things in the Fediverse on an ongoing basis, what would you test? What'... 
 HTTP signatures 
Standard message payloads
Descriptive error messages

@e2bc32de @4eef68c5