[Chicago] next meeting talk- topic request
Kumar McMillan
kumar.mcmillan at gmail.com
Fri Oct 26 21:02:09 CEST 2007
On 10/26/07, Ian Bicking <ianb at colorstudy.com> wrote:
> Kumar McMillan wrote:
> > Anyone else for a py.test / nose face-off?
>
> I think that might be a little boring, since they aren't that different.
this is true.
> Though I still can't get nose to properly do the thing with asserts
> it reinterprets the subexpressions. And now that I think about it,
> stdout capturing seems a little more quirky in nose. But that does not
> an interesting face-off make.
I don't think Jason has worked much on the introspection, but instead
has put useful things in nose.tools for raising assertions with
meaningful messages. I, for one, thought introspection was cool in
py.test but it never did what I wanted either, heh. In nose I never
use it since nose.tools works better with my brain, I guess. (eq_(),
raises(), timed()). For any other specific assertion shortcut, I just
bake it into the test framework I'm currently working in.
nose actually grew out of our dislike of py.test's verboseness
(dumping code to your term) and the bugginess of all the frame hacks
it did ... but this was in 2005 so I'm sure it has improved since
then! Granted, py.test was a really great tool when it came out and
obviously inspired nose to be what it is.
>
> --
> Ian Bicking : ianb at colorstudy.com : http://blog.ianbicking.org
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago
>
More information about the Chicago
mailing list