[py-dev] Convention for TDD
Ian Bicking
ianb at colorstudy.com
Mon Oct 10 17:52:33 CEST 2005
David Stanek wrote:
> On Sun, Oct 09, 2005 at 10:13:07PM -0500, Ian Bicking wrote:
>
>>Is there any convention people are using with py.test for
>>test-drive-development tests that still fail? Like a convention for
>>saying I-fail-but-don't-worry; some combination of keywords and
>>disabling variables so it can only be run explicitly?
>
>
> What exactly are you trying to do? When I practice TDD I like when
> the tests fail so I know what I need to be working on. Once I get
> all of the tests to pass I add a couple more knowing that the code
> to support them is not there and the test will fail.
I'm writing some experimental code, and I want to check it in before it
is finished. But I want other people to know that it's okay that the
tests fail (while I also want them to be able to see the code's progress).
--
Ian Bicking / ianb at colorstudy.com / http://blog.ianbicking.org
More information about the Pytest-dev
mailing list