Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Ruby doctest

Reply
Thread Tools

Ruby doctest

 
 
Paddy
Guest
Posts: n/a
 
      06-22-2008
I monitor changes to the Wikipedia doctest page, and so noticed a
change in the Ruby implementation of doctest.

Scooting around their implementation I found that they have an !!!
special directive that says drop into the interpreter at this point
when testing allowing debugging in context.
http://github.com/tablatom/rubydocte...ial-directives

- Paddy.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: doctest Tim Peters Python 0 04-05-2004 12:47 AM
Problem with mixing doctest with gettext _() Pierre Rouleau Python 14 02-27-2004 10:29 PM
NEWBIE: doctest question engsolnom@ipns.com Python 0 01-05-2004 09:47 PM
ps2, IDLE, and doctest Paul M Python 0 10-17-2003 07:03 PM
Re: Simulte user input using doctest Steven Taschuk Python 0 06-27-2003 01:57 PM



Advertisments