Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #25407
| From | Roy Smith <roy@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Initial nose experience |
| Date | 2012-07-16 07:33 -0400 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <roy-C2266A.07333816072012@news.panix.com> (permalink) |
| References | <roy-F2685A.08422113072012@news.panix.com> <mailman.2149.1342375358.4697.python-list@python.org> |
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, I can see some nice advantages to native nose functionality. The most obvious is that tests can be plain-old static functions at the top level of a module. In unittest, you have to subclass TestCase, then write methods for that (showing its JUnit/SUnit roots). In 99% of the tests I write, I don't do anything special in my TestCase subclasses, so that's all just boilerplate busywork. I like the idea that I can skip that all now.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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