1

Just getting started with pgTAP, I'm using a localhost running docker container server. How do I tell pgTAP what the password for that server is? I don't see anything mentioned in the documentation.

xenoterracide
  • 16,274
  • 24
  • 118
  • 243

1 Answers1

2

PgTAP pg_prove respects the PostgreSQL Environment Vars, so you need to set PGPASSWORD in the environment before running. Since pg_prove runs using psql I suspect you can also set a ~/.pgpass.

xenoterracide
  • 16,274
  • 24
  • 118
  • 243