Re: Postgres SQL specification (tests) - Mailing list pgsql-hackers

From Kevin Field
Subject Re: Postgres SQL specification (tests)
Date
Msg-id a7b066a7-dee0-4ac0-b660-c21601691fb2@z19g2000yqe.googlegroups.com
Whole thread Raw
In response to Postgres SQL specification (tests)  (mito <milos.orszag@gmail.com>)
Responses Re: Postgres SQL specification (tests)  (mito <milos.orszag@gmail.com>)
List pgsql-hackers
On Apr 16, 3:14 am, mito <milos.ors...@gmail.com> wrote:
> Hi,
>
> i have built an SQL interface using rule system which supports row
> versioning and i would like to test it against Postgres SQL specification.
>
> Is there something like test cases for postgres SQL interface?
>
> Or do you have any ideas how to build a group of all possible cases of
> table structure and generate appropriate queries, which can be tested
> against postgres?
>
> thanks

For unit testing, I use pgTap, it's pretty handy for scripting your
tests.

What do you mean by all possible cases of table structure?  That would
be infinite...


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Unicode string literals versus the world
Next
From: James Robinson
Date:
Subject: Re: NOTIFY / LISTEN silently parses and discards schema-ish portion of notification name ...