Doctest Mode: Walk-Through (1/8)

Begin by creating a new empty file, "mytests.doctest". Emacs should automatically enter doctest-mode based on the file's extension. If it doesn't, then manually run "meta-x doctest-mode".

Type some text into the buffer. Any text that's not explicitly marked with Python prompts will be ignored by doctest. This feature makes it very easy to interleve explanations with your test cases.

Next Page...

Hello world.  This file will contain some simple tests.


ISO8---Emacs: mytest.doctest  (Doctest Font Fill)----L2--All-----