About testing database function
Hello I was checking the documentation and I saw that it's suggested to use pgTAP to write tests, but I'm not used to that dev experience. Using the pg client with node-tap would work too? Is there any case which only pgTAP is supported for testing?
2 Replies
Not that I can think of but one is already inside the database and the other will be an additional dependency.
Thank you!
Currently we have a small team of contractors, and it would be easiar for us to manager the specs using a js/ts library with a pg client
Also I found hard to reuse like fake user uses between pgTAP spec files,