Re: Unit Testing Nodes

2018-10-19 Thread anlifer
Hi Edward, pythonw works for me as well - it just doesn't display anything on the console - so when I run unit tests I don't see the results. Otherwise Leo behaves fine. On Friday, October 19, 2018 at 6:37:08 AM UTC-7, Edward K. Ream wrote: > > > On Thu, Oct 18, 2018 at 6:59 PM > wrote: >

Re: Unit Testing Nodes

2018-10-18 Thread anlifer
> > On Tuesday, October 16, 2018 at 3:30:22 AM UTC-7, Edward K. Ream wrote: >> >> >> >> On Tue, Oct 16, 2018 at 4:55 AM vitalije wrote: >> >>> How very strange. >>> >> >> Yes, it's a mystery. anlifer, what appears in your log

Re: Unit Testing Nodes

2018-10-16 Thread anlifer
, October 16, 2018 at 3:30:22 AM UTC-7, Edward K. Ream wrote: > > > > On Tue, Oct 16, 2018 at 4:55 AM vitalije > > wrote: > >> How very strange. >> > > Yes, it's a mystery. anlifer, what appears in your log window when you > start Leo? This may be an i

Re: Unit Testing Nodes

2018-10-15 Thread anlifer
vitalije, I'm running from the console by running the launchLeo script from the command line. I think the tests do run - when I open the unittest.leo file and do run-all-unit-tests-locally, the window freezes - indicates something is going on. As you can see from my test, there are false

Re: Unit Testing Nodes

2018-10-15 Thread anlifer
Hi Vitalije, I think I have a bigger problem - see my other message. Even when I run Leo's own unit tests I get no "output". On Monday, October 15, 2018 at 2:37:32 PM UTC-7, vitalije wrote: > > you should put: > >1. @others line in @test node before assertions statements >2. put cloned

Re: Unit Testing Nodes

2018-10-15 Thread anlifer
Seems I have the same problem when I load unitTest.leo. When I run tests, I do not see their results. On Monday, October 15, 2018 at 2:29:44 PM UTC-7, anl...@gmail.com wrote: > > Thanks vitalijie. > > I think I get the idea, but I'm still having trouble. > > Let's say I start with this node

Re: Unit Testing Nodes

2018-10-15 Thread anlifer
Thanks vitalijie. I think I get the idea, but I'm still having trouble. Let's say I start with this node (hyphen denotes a node, and indented hyphen denotes a subnode). - factorial This node contains my factorial definition. Now I'll create some more nodes so that I end up with: - factorial

Re: Dreaming big dreams

2018-10-11 Thread anlifer
> Yes, i meet same problems, > but the reason is simple: > - Leo release so many years, but the core developer always only EKR > - so means more and more knowledge for EKR as natural truth, not need explain > - and servicing big document.leo project is not funny and tired... v Now that I

Re: Dreaming big dreams

2018-10-10 Thread anlifer
Below are some random examples. It's hard for me to give you a fuller answer as I now do know some Leo and so I'm less confused when I read the docs - so I can't easily point out problems. In the main tutorial page, the script in Accessing Outline Data doesn't work - it's missing a

Re: Dreaming big dreams

2018-10-10 Thread anlifer
I came to Leo because I wanted a programmable text editor that I can program in Python. I am an Emacs user who did not want to learn Emacs Lisp. My dream is that the documents be vastly improved. As it is, when it comes to scripting in Leo so I can customize my experience, the docs are no help.

Unit Testing Nodes

2018-10-06 Thread anlifer
Hi, I recently tried writing my own logic for commenting and uncommenting lines. It has several requirements, and so I wanted to write unit tests for my logic. I tried following https://leoeditor.com/unitTesting.html but it did not really work for my use case. What I'm doing: Creating a

Unit Testing With Leo Editor

2018-10-06 Thread anlifer
Hi, I recently tried writing my own logic for commenting and uncommenting lines. It has several requirements, and so I wanted to write unit tests for my logic. I tried following https://leoeditor.com/unitTesting.html but it did not really work for my use case. What I'm doing: Creating a