Path: csiph.com!usenet.pasdenom.info!news.franciliens.net!news.muarf.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'third- party': 0.04; 'defines': 0.09; 'differently.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'python': 0.11; '"python': 0.16; 'finney': 0.16; 'invokes': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'scripts.': 0.16; 'discussion': 0.18; 'library': 0.18; 'all,': 0.19; 'module': 0.19; 'tests': 0.22; 'header:User- Agent:1': 0.23; 'script.': 0.24; 'earlier': 0.24; 'header:X -Complaints-To:1': 0.27; '(this': 0.29; 'code': 0.31; 'discovery': 0.31; 'wright': 0.31; 'writes:': 0.31; 'run': 0.32; 'url:python': 0.33; 'running': 0.33; 'anywhere': 0.35; 'test': 0.35; 'add': 0.35; 'building': 0.35; 'version': 0.36; 'mass': 0.36; 'park': 0.36; 'url:org': 0.36; 'ben': 0.38; 'url:library': 0.38; 'whatever': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; "couldn't": 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'remove': 0.60; 'url:3': 0.61; "you'll": 0.62; 'fire': 0.65; 'skip:\xe2 10': 0.65; '8bit%:43': 0.74 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ben Finney Subject: Re: RUN ALL TEST Date: Wed, 30 Oct 2013 17:58:49 +1100 References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: rasputin.madmonks.org X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-gpg.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:EhLo2eo7GhGyaI9W1xuC6BPSPFw= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1383116342 news.xs4all.nl 15978 [2001:888:2000:d::a6]:35848 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:58007 Chandru Rajendran writes: > Hi all, Welcome! Please remove the mass of legalese nonsense (this is a public discussion forum, your message is clearly not confidential), or use a mail system which does not add that when discussing here. > I am building my script. I want to run all the test scripts. What version of Python are you using? Test discovery is now a part of the standard library ‘unittest’ module . If you are using Python earlier than version 2.7, you can use a third-party module for adding test discovery to the standard test runner . > Currently I am running the code "python setup.py test" That invokes whatever the ‘setup.py’ defines as the test suite and runner. You'll need to change that in order to get it to run the tests differently. -- \ “I used to work in a fire hydrant factory. You couldn't park | `\ anywhere near the place.” —Steven Wright | _o__) | Ben Finney