I've been thinking about how to intersperse code and tests generally, (not just for python).
I'm considering just doing it under a, say: @code&test <codeFile> <testFile> The subtree would have code nodes with say: @testF nodes to hold tests. A script would collect the code nodes under an '@file <codeFile>' node, the tests under an '@file <testFile>' node, perhaps in a chapter, perhaps evoked automatically on a save, (before the regular save code is run). Might be integrated with the one plugin I attempted to write that stored incrementally written code away in a chapter as kind of development history, while leaving the current code in the main outline, (with swap in & out commands). Never finished as the logic and special cases got away from me. Tom -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
