Test code is worth the space - Mailing list pgsql-hackers

From Noah Misch
Subject Test code is worth the space
Date
Msg-id 20150808164728.GA1843853@tornado.leadboat.com
Whole thread Raw
Responses Re: Test code is worth the space  (Peter Geoghegan <pg@heroku.com>)
Re: Test code is worth the space  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
We've too often criticized patches for carrying many lines/bytes of test case
additions.  Let's continue to demand debuggable, secure tests that fail only
when something is wrong, but let's stop pushing for test minimalism.  Such
objections may improve the individual patch, but that doesn't make up for the
chilling effect on test contributions.  I remember clearly the first time I
submitted thorough test coverage with a feature.  Multiple committers attacked
it in the name of brevity.  PostgreSQL would be better off with 10x its
current test bulk, even if the average line of test code were considerably
less important than we expect today.

Thanks,
nm



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: tap tests remove working directories
Next
From: Heikki Linnakangas
Date:
Subject: Re: WIP: SCRAM authentication