On Thu, 6 Apr 2017 03:49:25 -0700 (PDT)
vitalije <[email protected]> wrote:

> However, when I tried to run all unit tests to check that I didn't
> broke something else in Leo codebase, I've got more than 100 failed
> tests?! Am I missing something? What is the correct way to run all
> tests before committing changes to main branch?

When I run unit tests I usually get about 5-15 failures.  This is
tricky, because it means you have to run them before and after your
change to make sure nothing new has been broken.  In fact it's a major
impediment to using unit tests that probably requires a major project
using clean VM installs to pin down an environment in which all the
tests work.  And / or some use of Travis CI or something similar.

Don't know why you'd have seen 100 fails - I run the tests by loading
leo/test/unitTest.leo, selecting the Active Unit Tests node, and pressing
Alt-4.

Cheers -Terry

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to