Postgres SQL specification (tests)
Postgres SQL specification (tests)
От:
mito <milos.orszag@gmail.com>
Дата:
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
Re: Postgres SQL specification (tests)
От:
Kevin Field <kevinjamesfield@gmail.com>
Дата:
On Apr 16, 3:14 am, mito 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...
Re: Postgres SQL specification (tests)
От:
mito <milos.orszag@gmail.com>
Дата:
By table structure i mean table definition options. Kevin Field wrote: > On Apr 16, 3:14 am, mito 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...