This is a good idea. I suppose you don't plan to make a lot of changes in 
the test cases. But even without changing test cases this would be a big 
step forward.

For a long time I've been feeling that Leo unit tests don't prove anything. 
They usually don't exercise real Leo code at all or if they do, they 
exercise just a small portion of it. So, the fact that unit tests are 
passing doesn't mean Leo would work properly for real users.

It might take a huge effort to fully eliminate all `if g.unitTesting` 
conditionals from Leo core, but it might be worth doing. Anyway it would be 
much clearer to see if it is possible to eliminate those conditionals after 
transferring unit tests into external files.

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/56e1d31a-870d-4139-a317-7de5e061c463%40googlegroups.com.

Reply via email to