On Feb 22, 10:35 am, "Edward K. Ream" <[email protected]> wrote:

> @test
> import mysteryCode
> mysteryCode.sniffing = True
> mysteryCode.run()

Actually, the headline of the @test node would be something like:

@test sniff out the mystery code

This will be obvious to those who already use @test, but it's good to
emphasize for @test newbies that the headline becomes the name of the
unit test.  So the UnitTest.testRunner will report that name if
something goes wrong.

Perhaps more importantly, the @test headlines become a form of
documentation that is readily available.  It's easy to see all your
@test nodes when you want, and it's easy to squirrel them away when
you don't want to see them.

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.

Reply via email to