A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-February/012893.html below:

[Python-Dev] Unit testing (again)

[Python-Dev] Unit testing (again) [Python-Dev] Unit testing (again)Tim Peters tim.one@home.com
Wed, 14 Feb 2001 01:52:37 -0500
[Skip]
> I must admit to being unfamiliar with all the options available.  How
> well does doctest work if the output of an example or test doesn't
> lend itself to execution at an interactive prompt?

If an indication of success/failure can't be produced on stdout, doctest is
useless.  OTOH, if you have any automatable way whatsoever to test a thing,
I'm betting you could dream up a way to print
    yes
or
    no
to stdout accordingly.  If not, you probably need to work on something other
than your testing strategy first <wink>.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4