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


Groups > comp.lang.python > #25411

Re: Initial nose experience

From Ben Finney <ben+python@benfinney.id.au>
Newsgroups comp.lang.python
Subject Re: Initial nose experience
References <roy-F2685A.08422113072012@news.panix.com> <mailman.2149.1342375358.4697.python-list@python.org> <roy-C2266A.07333816072012@news.panix.com>
Date 2012-07-16 22:37 +1000
Message-ID <87y5mjubix.fsf@benfinney.id.au> (permalink)
Organization Unlimited download news at news.astraweb.com

Show all headers | View raw


Roy Smith <roy@panix.com> writes:

> In article <mailman.2149.1342375358.4697.python-list@python.org>,
>  python@bdurham.com wrote:
>
> > After years of using unittest, what would you say are the pros and
> > cons of nose?
>
> BTW, although I'm currently using nose just as a unittest aggregator

Be aware that Python 2.7 and higher has unit test discovery in the
standard library:

    $ python -m unittest discover

will look through all packages within the current directory and collect
unit tests it finds, then run them and report
<URL:http://docs.python.org/library/unittest.html#test-discovery>.

You can get the same in earlier versions of Python with ‘unittest2’
<URL:http://pypi.python.org/pypi/unittest2>.

-- 
 \           “I prayed for twenty years but received no answer until I |
  `\          prayed with my legs.” —Frederick Douglass, escaped slave |
_o__)                                                                  |
Ben Finney

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


Thread

Initial nose experience Roy Smith <roy@panix.com> - 2012-07-13 08:42 -0400
  Re: Initial nose experience python@bdurham.com - 2012-07-15 14:02 -0400
    Re: Initial nose experience Roy Smith <roy@panix.com> - 2012-07-15 14:58 -0400
      Re: Initial nose experience Philipp Hagemeister <phihag@phihag.de> - 2012-07-16 12:54 +0200
      Re: Initial nose experience Peter Otten <__peter__@web.de> - 2012-07-16 13:47 +0200
      unittest: Improve discoverability of discover (Was: Initial nose experience) Philipp Hagemeister <phihag@phihag.de> - 2012-07-16 14:37 +0200
        Re: unittest: Improve discoverability of discover Ben Finney <ben+python@benfinney.id.au> - 2012-07-16 22:45 +1000
      Re: unittest: Improve discoverability of discover (Was: Initial nose experience) Philipp Hagemeister <phihag@phihag.de> - 2012-07-16 14:49 +0200
    Re: Initial nose experience Roy Smith <roy@panix.com> - 2012-07-16 07:33 -0400
      Re: Initial nose experience Ben Finney <ben+python@benfinney.id.au> - 2012-07-16 22:37 +1000
  Re: Initial nose experience Roy Smith <roy@panix.com> - 2012-07-23 10:33 -0700
  Re: Initial nose experience Roy Smith <roy@panix.com> - 2012-07-27 10:51 -0400

csiph-web