On Wed, Jun 10, 2009 at 5:16 PM, Edward K. Ream<[email protected]> wrote:
> I'm not sure what I think of this. There already is straightforward code to > compare outlines at: > > Code-->Test classes-->@thin leoTest.py--> class testUtils-->compareOutlines Yeah, but this requires that the outline is out there in the tree. If you have a test that checks outline structure in 5 different stages, you will need 5 trees to compare against (as opposed to 5 lines of code intermingled with the test code). > It's not clear to me that "golden_run" mechanism is easier than the present > way. For instance, see unitTest.leo: > > Scripts-->@ignore-->Scripts that make unit tests Those steps still seem like much more work than inserting one line of code wherever you want to check the outline. I'll put this to the back of my head and implement a demo "later" when I have the time. -- Ville M. Vainio http://tinyurl.com/vainio --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
