codeceptjs-postgresqlhelper

1.0.1 • Public • Published

codeceptjs-postgresqlhelper

CodeceptJS helper to execute queries on PostgreSQL database

Installation

npm i codeceptjs-postgresqlhelper

Configuration

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 instance
  • port: port
  • user: username
  • password: password
  • database: database to which you want to connect

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.14,193latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.14,193
1.0.035

Package Sidebar

Install

npm i codeceptjs-postgresqlhelper

Weekly Downloads

4,228

Version

1.0.1

License

AGPL-3.0

Unpacked Size

39 kB

Total Files

5

Last publish

Collaborators

  • yurkovychv