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

Of course I am.

 

> Creating full coverage unit tests might be easier if running the prototype 
> without any arguments created an empty outline. The necessary changes are 
> straightforward. I can push the changes I've made locally if you like.
>
>
  Feel free to do anything you want to the prototype. But 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.
 
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.

Vitalije

>

-- 
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/da0312df-0df1-4b7d-ab9b-94d65e97386e%40googlegroups.com.

Reply via email to