Edward, Running Unit Tests with the latest build 4439 can result in leoRecentFiles.txt being overwritten. After running launchLeo.py leo/test/unitTest.leo (Alt-4) and unitTest.leo is still active the File>Recent Files menu is disabled. The overwrite occurs upon closure of the unitTest.leo file.
Is this intended result of running unit tests? Maybe a backup file should be created. Leo Log Window Leo 4.9 final, build 4411(4439), June 21, 2011 Python 2.7.2, qt version 4.7.2 Windows 6, 1, 7600, 2, Lewis On Jul 28, 4:41 am, "Edward K. Ream" <[email protected]> wrote: > On Wed, Jul 27, 2011 at 9:26 AM, Terry Brown <[email protected]> wrote: > > I've always found the presence of both untiTest.leo and test.leo > > confusing for running tests, can you confirm that my approach for > > running unit tests is correct: > > > HOME=/tmp python launchLeo.py leo/test/unitTest.leo > > Alt-4 > > Yes. That looks right. You might want to disable caching as well. > > test.leo was intended for by-hand tests. All the "real" unit test > should be in unitTest.leo. > > Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
