Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.075 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.00; 'skip:` 10': 0.07; 'subject:()': 0.09; 'am,': 0.12; 'unittests': 0.16; 'mon,': 0.16; 'wrote:': 0.18; 'dec': 0.22; 'header:In-Reply-To:1': 0.22; 'though.': 0.23; 'tests': 0.25; 'writes:': 0.25; 'classes': 0.26; 'testing': 0.26; 'url:mailman': 0.28; 'message- id:@mail.gmail.com': 0.28; 'example': 0.29; 'received:209.85.210.46': 0.30; 'received:mail- pz0-f46.google.com': 0.30; 'url:listinfo': 0.32; 'to:addr:python- list': 0.34; 'anything': 0.34; 'doc': 0.34; 'modules': 0.35; 'test': 0.35; 'url:python': 0.36; 'run': 0.37; 'received:google.com': 0.37; 'using': 0.38; 'thomas': 0.38; 'received:209.85': 0.38; 'put': 0.38; 'url:org': 0.39; 'should': 0.39; 'received:209': 0.40; 'to:addr:python.org': 0.40; '2011': 0.61; 'your': 0.61; 'stop': 0.63; 'subject: / ': 0.63; 'subject:. ': 0.65; 'loose': 0.67; 'absolutely': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=ZKzFAN8RHkmOo+XBXdP0prs0t+tAWUT5ZPn2VDOF9LM=; b=H6Xg6ORz42lsWWFpbE0V666p8OGfioJMx1sg4Zu7v7MGTbqM8EeVYvHoG3xGuAi41a Nx1nLAsz4Ij8eksmLXQwaOlPU0d+LTdLVifOzMCa2E7DqreZmaXpQ0SOC434j5FhtYei 3dDWf94AcSttX5Rpb4oqR+8qtbsO3Yva71arU= MIME-Version: 1.0 In-Reply-To: <8739cqf4so.fsf@jubold.box> References: <87y5uiu1t4.fsf@jubold.box> <8739cqf4so.fsf@jubold.box> Date: Mon, 12 Dec 2011 11:50:55 -0500 Subject: Re: unittest. customizing tstloaders / discover() From: Nathan Rice To: python-list@python.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1323708658 news.xs4all.nl 6920 [2001:888:2000:d::a6]:44808 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:17063 Nose is absolutely the way to go for your testing needs. You can put "__test__ =3D False" in modules or classes to stop test collection. On Mon, Dec 12, 2011 at 5:44 AM, Thomas Bach wrote: > Gelonida N writes: > >> Do I loose anything if using nose. or example can all unit tests / doc >> tests still be run from nose? > > AFAIK you don't loose anything by using nose =96 the unittests should all > be found and doctests can be run via `--with-doctest', I never used > doctests though. > > regards > -- > http://mail.python.org/mailman/listinfo/python-list