Test code is worth the space

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Test code is worth the space
Date: 2015-08-08 16:47:28
Message-ID: 20150808164728.GA1843853@tornado.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-08-08 17:23:42 Re: WIP: SCRAM authentication
Previous Message Andrew Dunstan 2015-08-08 16:40:16 Re: tap tests remove working directories