Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #17063
| 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 | <nathan.alexander.rice@gmail.com> |
| 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 | <mailman.3518.1323638859.27778.python-list@python.org> <87y5uiu1t4.fsf@jubold.box> <mailman.3525.1323653551.27778.python-list@python.org> <8739cqf4so.fsf@jubold.box> |
| Date | Mon, 12 Dec 2011 11:50:55 -0500 |
| Subject | Re: unittest. customizing tstloaders / discover() |
| From | Nathan Rice <nathan.alexander.rice@gmail.com> |
| 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 <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3560.1323708658.27778.python-list@python.org> (permalink) |
| 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 |
Show key headers only | View raw
Nose is absolutely the way to go for your testing needs. You can put "__test__ = False" in modules or classes to stop test collection. On Mon, Dec 12, 2011 at 5:44 AM, Thomas Bach <bachth@uni-mainz.de> wrote: > Gelonida N <gelonida@gmail.com> 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 – 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
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
unittest. customizing tstloaders / discover() Gelonida N <gelonida@gmail.com> - 2011-12-11 22:27 +0100
Re: unittest. customizing tstloaders / discover() Thomas Bach <bachth@uni-mainz.de> - 2011-12-12 00:27 +0100
Re: unittest. customizing tstloaders / discover() Gelonida N <gelonida@gmail.com> - 2011-12-12 02:32 +0100
Re: unittest. customizing tstloaders / discover() Thomas Bach <bachth@uni-mainz.de> - 2011-12-12 11:44 +0100
Re: unittest. customizing tstloaders / discover() Nathan Rice <nathan.alexander.rice@gmail.com> - 2011-12-12 11:50 -0500
csiph-web