On Wed, May 6, 2020 at 6:50 AM vitalije <[email protected]> wrote:

>> I am willing to work on tests if you are willing to share the
programming.
> Of course I am.

Thanks. First, it's time to fix #1563.


> I would like to at least have the ability to run it using an existing
> outline. It might be best if the filename is provided on the command line
> to open that filename and without arguments to create a new outline with
> the single node.
>

That's what rev bce8dc123 does, which I have just pushed.

 I am working on testing using hypothesis
> <https://hypothesis.readthedocs.io/en/latest/>. I plan to open
> LeoPyRef.db, then hypothesis will randomly select items and perform random
> commands checking after each command that the resulting list of vnodes
> collected in the outline order by iterating v-nodes is exactly the same as
> the one collected by iterating tree items. Hypothesis is good at finding
> short sequence of operations that lead to error. If it doesn't find that
> sequence we may be pretty sure that code is correct.
>

Let me know how it works out.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS1r9_xCNpmZRG0qVUhMDrNVE_JYSEcjpZ6vUx%3DtER_ztw%40mail.gmail.com.

Reply via email to