On Sat, May 4, 2013 at 7:14 PM, HaveF <[email protected]> wrote:

>
> If I know how to combine existing test codes with leo, maybe I wouldn't
> invite someone to write such a post...
>
> https://groups.google.com/forum/?fromgroups=#!searchin/leo-editor/unittest/leo-editor/9AsoGOC-4ek/12st-oc4sQwJ
>

:-)  The short form of the tutorial would be:

1. Create an @button or @command script to run your existing unit test from
within Leo.  You may want to use Python's subprocess module, rather than,
say, os.system.

2.  Use @file to add new tests to your existing suite of tests.

HTH.  Please feel free to ask more questions.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to