SilberWitch on Nostr: Well, I tend to write specs as tests. I consider them runnable docs. Can then ...
Well, I tend to write specs as tests. I consider them runnable docs.
Can then generate code from the tests. Sort of cool.
Published at
2024-11-29 21:56:06Event JSON
{
"id": "621b234a133947ef3cb84f2e98df40cb4d8d549842d65df58496d22adad640f0",
"pubkey": "fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1",
"created_at": 1732917366,
"kind": 1,
"tags": [
[
"e",
"24b48bd454bfc08752c22aa8879173a7315a72a686607365a329f6430ccf473f",
"",
"root"
],
[
"e",
"1e45e32afa679cc1c5faba0a28c60f159c686d9d17b49f22573e6b6487e4f21f"
],
[
"e",
"aa258b06e463037b678e260e8c51731b4f7ccb1ad4d2eef4dc8c9db8e9c383bf",
"",
"reply"
],
[
"p",
"fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
]
],
"content": "Well, I tend to write specs as tests. I consider them runnable docs.\n\nCan then generate code from the tests. Sort of cool.",
"sig": "c64150eee2327cb8d384232085712c4b405bbe50cffd0946263386fb6e4d9d58f1aa746675bbeb01ca676d573f7656c582c30d1e7fbd2b9034ae914c84f3068c"
}