Re: Unit testing - Mailing list pgsql-hackers

From Neil Conway
Subject Re: Unit testing
Date
Msg-id 416A927C.7080706@samurai.com
Whole thread Raw
In response to Re: Unit testing  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Unit testing
Re: Unit testing
List pgsql-hackers
Andrew Dunstan wrote:
> 2. Won't dissolving away "static" cause naming conflicts?

It might, yes. Those can be resolved, I think. I don't see a good reason 
why function names can't be unique across the source tree; at the very 
least, it means less irritation for anyone using tags.

> 3. Unit testing frameworks are best suited to component-based 
> architectures, ISTM. I'm not sure that one would fit Postgres very well.

Can you elaborate?

> Retrofitting unit testing is a lot harder than starting out doing it 
> from day 1.

Granted, but I don't think that implies that retrofitting isn't worth 
the effort.

-Neil


pgsql-hackers by date:

Previous
From: Reini Urban
Date:
Subject: Re: OT moving from MS SQL to PostgreSQL
Next
From: Tom Lane
Date:
Subject: Re: Unit testing