On Feb 22, 10:44 am, "Edward K. Ream" <[email protected]> wrote:
> Human controllers have all kinds of ideas and desires, but we aren't > real good at maintaining attention, and handling myriad details. So > we need help. Unit tests are that help. They are as flexible as > their human controllers make them. The Aha is that we have been using unit tests inflexibly. We have been blinded by their name. In fact, the essence of unit tests is that they can be run automatically at any time. The combination of Leo's outline organization and the UnitTest.testRunner means that we can run one, some or all the "tests" very easily. We can run selected tests with Alt-5, or run all tests with Alt-6. To put it another way, the Aha is that @test doesn't define a test, it defines one of a suite of *general-purpose scripts* that the testRunner can run easily. Don't think "test", think "helper". EKR -- 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.
