codeceptjs-postgresqlhelper
v1.0.1
Published
CodeceptJS helper to execute queries against PostgreSQL database
Maintainers
Readme
codeceptjs-postgresqlhelper
CodeceptJS helper to execute queries on PostgreSQL database
Installation
npm i codeceptjs-postgresqlhelperConfiguration
This helper should be configured in codecept.conf.js
Example:
{
//...
helpers: {
PostgresqlDBHelper: {
require: 'codeceptjs-postgresqlhelper',
host: '127.0.0.1',
port: 5432,
user: 'postgres',
password: 'postgres',
database: 'postgres',
},
//...
}To use this helper you need to provide the following info:
host: hostname or IP address of the PostgreSQL instanceport: portuser: usernamepassword: passworddatabase: database to which you want to connect
