Ticket #4439: testing.diff

File testing.diff, 682 bytes (added by Simon G. <dev@…>, 17 years ago)
  • docs/testing.txt

     
    147147If you've been using Python for a while, ``doctest`` will probably feel more
    148148"pythonic". It's designed to make writing tests as easy as possible, so
    149149there's no overhead of writing classes or methods; you simply put tests in
    150 docstrings. This gives the added advantage of given your modules automatic
     150docstrings. This gives the added advantage of giving your modules automatic
    151151documentation -- well-written doctests can kill both the documentation and the
    152152testing bird with a single stone.
    153153
Back to Top