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/2011-January/107259.html below:

[Python-Dev] [Python-checkins] devguide: Start a doc on running and writing unit tests.

[Python-Dev] [Python-checkins] devguide: Start a doc on running and writing unit tests. [Python-Dev] [Python-checkins] devguide: Start a doc on running and writing unit tests.Brian Curtin brian.curtin at gmail.com
Thu Jan 6 00:18:53 CET 2011
On Jan 5, 2011 4:45 PM, "Terry Reedy" <tjreedy at udel.edu> wrote:
>
>
>> +The shortest, simplest way of running the test suite is::
>> +
>> +    ./python -m test
>
>
> Not on Windows.
> C:\Programs\Python32>./python -m test
> '.' is not recognized as an internal or external command,
> operable program or batch file.
>
> python -m test
>  works (until it failed, separate issue).
>
> I would like to know, insofar as possible, how to run tests from the
interpreter prompt (or IDLE simulation thereof)
>
> from whatmod import whatfunc; whatfunc() # ??
>
> ditto for such remaining alternatives you give as can be made from prompt.
>
> Besides the convenience for Windows users (for whom the Command Prompt
window is hidden away and possibly unknown), I think we should know if any
tests are incompatible with interactive mode.
>
> ---
> Terry Jan Reedy

The command prompt on Windows is no more hidden than it is on any other OS.
In fact it's easier to find than on OS X (IMO) :)

I think we do need to make *some* assumptions in the developer docs that the
reader is actually a developer (who would know where cmd is) and not a
first-time user of the OS, otherwise it becomes a computer users guide and
not a development guide.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110105/94c33ff6/attachment.html>
More information about the Python-Dev mailing list

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