-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tap tests on pgsodium objects schema #67
Conversation
Note that the tests are currently failing because of #68 |
This fixes errors related to the object schema resolution.
8dadb20
to
727e10c
Compare
This makes any change easier to spot
Adding checks for: language, return type, volatility, strictiness, security definer and function kind.
Hi, There's currently 1729 tests including the ones from commit f64f2cf. We could add some more tests around indexes & constraints on table From here, I'll need some serious review, the next steps would be to:
Regards, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is huge! Thanks so much for this work. I went through it as much as I could, and I'm happy with "freezing" the interface contract to this test spec going forward. As the package evolves we'll be careful to make sure the contract is honored or making very explicit major version releases that might break things.
Thank you! |
This adds tap tests on the pgsodium extension itself. This should help enforce some sanity rules about ownership, privileges, existing objects, etc.
This is currently a draft as:
pgsodium_tapgen.pl
perl script and needs some detailed review.The generation script itself is included in this PR for information only. The objective is to edit the
pgsodium_schema.sql
test script bu hand.