[Python-Dev] "unit test needed"

skip at pobox.com skip at pobox.com
Mon Jan 10 21:37:29 CET 2011


    Antoine> Then we would need a whole array of checkboxes for things
    Antoine> missing in a patch:
    Antoine> - missing unit test
    Antoine> - missing documentation changes
    Antoine> - other things?

How about replacing all the possibilities with

    patch incomplete

then elaborate in the issue itself how that is the case.

    Antoine> I don't think it's useful. As for "tests are simpler", it
    Antoine> really depends on the issue :) I've worked on many issues where
    Antoine> writing the test took much more time than actually fixing the
    Antoine> bug (one-line fix vs. careful test setup to exercise the fix).

I would rather write event-driven code than the test cases for it. ;-)

Skip


More information about the Python-Dev mailing list