You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For certain packages we will mock a higher level type that provides say a Datastore, and in others the resolution will be to mock the actual pg response if the code in question is tightly coupled with the database backend (internal/sql/pg package) and/or pgx.
It depends what we are aiming to test in a given unit tests.
Suggestion
Right now, some of the unit tests call Postgres directly; this requires that the tester is running a Postgres instance.
To close this issue, we will need to:
Contributing.md
that tells the tester to start PG before running the unit tests.The text was updated successfully, but these errors were encountered: