ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-announce
python-announce
ANN: doctest-mode 0.4
by Edward Loper other posts by this author
Aug 5 2007 3:35AM messages near this date
Rope 0.6 released | Announcing Wing IDE 101 for teaching intro programming courses
Announcing doctest-mode 0.4
~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Webpage:
     http://www.cis.upenn.edu/~edloper/projects/doctestmode/

   Walk-through:
     http://tinyurl.com/25bljc

   Subversion:
     https://python-mode.svn.sf.net/svnroot/python-mode/trunk/python-mode/

About doctest-mode
~~~~~~~~~~~~~~~~~~
   "doctest-mode" is an Emacs major mode for editing text files that
   contain Python "doctest" examples.  (Doctest is a testing framework
   for Python that emulates an interactive session, and checks the
   result of each command.  For more information on doctest, see
   <http://docs.python.org/lib/module-doctest.html> ).  doctest-mode
   makes it easier to write and maintain doctest files, by providing:

     - Syntax highlighting of the prompts, source code, and expected
       output for each doctest example.

     - Editing support, including automatic indentation (similar to
       python-mode) and automatic prompt management.

     - Execution support, allowing you to run doctest directly from
       emacs, and examine the results in an output buffer.

     - Failure navigation, allowing you to quickly navigate between
       failed examples after you run doctest.

     - Output replacement, allowing you to easily update doctest
       examples with the correct output value.

Improvements in Version 0.4
~~~~~~~~~~~~~~~~~~~~~~~~~~~
   - improved syntax highlighting.
   - doctest is now run asynchronously by default.
   - added support for older versions of doctest (pre-Python 2.4)
   - editing the doctest buffer no longer causes doctest-mode to lose
     track of the correspondence between examples in the doctest buffer
     and results in the *doctest-output* buffer.
   - numerous bug-fixes.
   - new command: doctest-execute-region (C-c |).
   - improved portability between different emacs versions.  Tested on:
     * XEmacs 21.4 (patch 17) [Lucid] (i386-debian-linux, Mule)
     * GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600)
     * GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.3.0)
     * GNU Emacs 21.2.1 (powerpc-apple-darwin8.0)

Licesnse
~~~~~~~~
   Copyright (C) 2004-2007 Edward Loper

   This software is provided as-is, without express or implied
   warranty.  Permission to use, copy, modify, distribute or sell this
   software, without fee, for any purpose and by any individual or
   organization, is hereby granted, provided that the above copyright
   notice and this paragraph appear in all copies.


<P> <A HREF="http://www.cis.upenn.edu/~edloper/projects/doctestmode/"
   > doctest-mode 0.4</A> - a major mode for editing text files that
   contain Python "doctest" examples. (04-Aug-07)

----------------------------------------------------------------------
Edward Loper       edloper@[...].edu
                    http://www.cis.upenn.edu/~edloper/
----------------------------------------------------------------------

-- 
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved