Hello,
Is there a way to use functions and variables in this style of testing? Similar to xUnit tests?
I have a series of plpgsql functions to test, and as parameters these functions take id values created when inserting rows in various tables. The closest I've come is using a CTE, but it's pretty awkward and will rapidly become cumbersome when writing a lot of tests related to the same id.
Thanks!
Matt