Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #59487

Re: Running python's own unit tests?

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'plenty': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'jan': 0.12; '2.7': 0.14; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'looked': 0.18; 'trying': 0.19; 'result.': 0.19; 'tests': 0.22; 'header:User-Agent:1': 0.23; 'source': 0.25; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'testing': 0.29; "i'm": 0.30; '(which': 0.31; 'equivalent.': 0.31; 'searches': 0.31; 'figure': 0.32; 'url:python': 0.33; 'something': 0.35; 'test': 0.35; 'but': 0.35; 'google': 0.35; 'building': 0.35; 'subject:?': 0.36; 'url:org': 0.36; 'unit': 0.37; 'turn': 0.37; 'url:library': 0.38; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'url:3': 0.61; 'received:173': 0.61; 'received:fios.verizon.net': 0.84; 'russell': 0.84; 'obvious,': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Running python's own unit tests?
Date Thu, 14 Nov 2013 18:13:37 -0500
References <rowen-D197FD.11120814112013@news.gmane.org>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-59-117-133.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
In-Reply-To <rowen-D197FD.11120814112013@news.gmane.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2631.1384470829.18130.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1384470829 news.xs4all.nl 15990 [2001:888:2000:d::a6]:39337
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:59487

Show key headers only | View raw


On 11/14/2013 2:12 PM, Russell E. Owen wrote:
> I'm building python from source and trying to figure out how to test the
> result. I must be overlooking something obvious, but I looked through
> the documentation and source and tried some google searches (which turn
> up plenty about writing unit tests in python, but nothing about testing
> a python distribution).
>
> Any hints?

http://docs.python.org/3/library/test.html#running-tests-using-the-command-line-interface

Or 2.7 equivalent.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Running python's own unit tests? Terry Reedy <tjreedy@udel.edu> - 2013-11-14 18:13 -0500

csiph-web