Re: TDD in python
On 30/11/2010 13:33, Roy Smith wrote: In article 58fe3680-21f5-42f8-9341-e069cbb88...@r19g2000prm.googlegroups.com, rustomrustompm...@gmail.com wrote: Looking around I found this: http://bytes.com/topic/python/answers/43330-unittest-vs-py-test where Raymond Hettinger no less says quite unequivocally that he prefers test.py to builtin unittest because it is not so heavy-weight Is this the general consensus nowadays among pythonistas? [Note I tend to agree but Ive no experience so asking] Both frameworks have their fans; I doubt you'll find any consensus. Pick one, learn it, and use it. What's important is that you write tests, write lots of tests, and write good tests. Which framework you use is a detail. For a great mailing lists that covers all of these types of issues, see here: http://lists.idyll.org/listinfo/testing-in-python cheers, Chris -- Simplistix - Content Management, Batch Processing Python Consulting - http://www.simplistix.co.uk -- http://mail.python.org/mailman/listinfo/python-list
Re: TDD in python
This book may help you: http://www.apress.com/book/view/9781590599815 2010/12/7 Chris Withers ch...@simplistix.co.uk On 30/11/2010 13:33, Roy Smith wrote: In article 58fe3680-21f5-42f8-9341-e069cbb88...@r19g2000prm.googlegroups.com, rustomrustompm...@gmail.com wrote: Looking around I found this: http://bytes.com/topic/python/answers/43330-unittest-vs-py-test where Raymond Hettinger no less says quite unequivocally that he prefers test.py to builtin unittest because it is not so heavy-weight Is this the general consensus nowadays among pythonistas? [Note I tend to agree but Ive no experience so asking] Both frameworks have their fans; I doubt you'll find any consensus. Pick one, learn it, and use it. What's important is that you write tests, write lots of tests, and write good tests. Which framework you use is a detail. For a great mailing lists that covers all of these types of issues, see here: http://lists.idyll.org/listinfo/testing-in-python cheers, Chris -- Simplistix - Content Management, Batch Processing Python Consulting - http://www.simplistix.co.uk -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: TDD in python
In article 58fe3680-21f5-42f8-9341-e069cbb88...@r19g2000prm.googlegroups.com, rustom rustompm...@gmail.com wrote: Looking around I found this: http://bytes.com/topic/python/answers/43330-unittest-vs-py-test where Raymond Hettinger no less says quite unequivocally that he prefers test.py to builtin unittest because it is not so heavy-weight Is this the general consensus nowadays among pythonistas? [Note I tend to agree but Ive no experience so asking] Both frameworks have their fans; I doubt you'll find any consensus. Pick one, learn it, and use it. What's important is that you write tests, write lots of tests, and write good tests. Which framework you use is a detail. -- http://mail.python.org/mailman/listinfo/python-list
Re: TDD in python
On Nov 28, 7:52 pm, Stefan Behnel stefan...@behnel.de wrote: Rustom Mody, 28.11.2010 11:58: Does anyone know of something like this for python? http://www.vimeo.com/13240481 The page seems to require a recent version of the Flash player. Could you describe what exactly you are looking for? Stefan Well most modern languages have TDD frameworks. However TDD is learnt by doing and not from books (like swimming/ cycling). This screencast gives a detailed demo of *doing it* in eclipse/C++ I was hoping for something similar for python -- http://mail.python.org/mailman/listinfo/python-list
Re: TDD in python
On Nov 29, 7:31 am, rustom rustompm...@gmail.com wrote: On Nov 28, 7:52 pm, Stefan Behnel stefan...@behnel.de wrote: Rustom Mody, 28.11.2010 11:58: Does anyone know of something like this for python? http://www.vimeo.com/13240481 The page seems to require a recent version of the Flash player. Could you describe what exactly you are looking for? Stefan Well most modern languages have TDD frameworks. However TDD is learnt by doing and not from books (like swimming/ cycling). This screencast gives a detailed demo of *doing it* in eclipse/C++ I was hoping for something similar for python Go to showmedo.com and do a search for python tdd; you'll find many such screencasts. André -- http://mail.python.org/mailman/listinfo/python-list
Re: TDD in python
On Nov 29, 4:59 pm, André andre.robe...@gmail.com wrote: On Nov 29, 7:31 am, rustom rustompm...@gmail.com wrote: On Nov 28, 7:52 pm, Stefan Behnel stefan...@behnel.de wrote: Rustom Mody, 28.11.2010 11:58: Does anyone know of something like this for python? http://www.vimeo.com/13240481 The page seems to require a recent version of the Flash player. Could you describe what exactly you are looking for? Stefan Well most modern languages have TDD frameworks. However TDD is learnt by doing and not from books (like swimming/ cycling). This screencast gives a detailed demo of *doing it* in eclipse/C++ I was hoping for something similar for python Go to showmedo.com and do a search for python tdd; you'll find many such screencasts. André Looking around I found this: http://bytes.com/topic/python/answers/43330-unittest-vs-py-test where Raymond Hettinger no less says quite unequivocally that he prefers test.py to builtin unittest because it is not so heavy-weight Is this the general consensus nowadays among pythonistas? [Note I tend to agree but Ive no experience so asking] -- http://mail.python.org/mailman/listinfo/python-list
TDD in python
Does anyone know of something like this for python? http://www.vimeo.com/13240481 -- http://mail.python.org/mailman/listinfo/python-list
Re: TDD in python
Rustom Mody, 28.11.2010 11:58: Does anyone know of something like this for python? http://www.vimeo.com/13240481 The page seems to require a recent version of the Flash player. Could you describe what exactly you are looking for? Stefan -- http://mail.python.org/mailman/listinfo/python-list
Re: TDD in python
On 11/28/2010 5:58 AM, Rustom Mody wrote: Does anyone know of something like this for python? http://www.vimeo.com/13240481 This is the first in a series of videos demonstrating TDD in C++ using the Eclipse CDT and CppUTest TDD = Test-Driven Development is a development philosophy applicable to any language. It is not all that different from Hypothesis-Driven Science (HDS) (I just made that connection!) I suspect CppUTest is derived from Java JUnit (or whatever), as is Python's unittest. Python also has doctest and other public and private test frameworks and function. -- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list