5 ms·
Is that an executable doctest?
by limmeau 14y ago
Is that an executable doctest?
- tonfa 14y agoWhat do you mean? The post is showing a session using the evolve extension (extension available from an external repo). The extension is experimental, and I'm not sure how many guarantees are given wrt stability (probably best effort). Now the extension is in the process of getting moved into core (where the behaviour, protocol, file formats will be frozen).
- limmeau 14y agoI was referring to Python doctests (documentation narrative with interspersed Python statements and embedded reference output). The text looked to me like one could extract all the commands, run them and check their output against the embedded reference output automatically. I don't know, it had such a rigid structure. On a second look, the output contains timestamps, so what looks like shell output is probably only shell output the author has copied once into their text.