testx-postgres-keywords v2.1.2 extends the testx testing framework with Postgres database keywords. It allows executing SQL statements, comparing results, and saving results to test context. Requires testx ^2.5.0. Designed for end-to-end testing with Protractor. Differentiators: simple keyword-driven interface, connection string configuration, and support for expected results. Stable release with low update frequency.
npm install testx-postgres-keywordsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows installation, keyword registration, and usage of execute sql keyword with connection string and expected result.
Consider migrating to modern testing frameworks like Playwright or Cypress.
Use multiple execute sql calls if different databases are needed.
Trim whitespace in expected result strings.
Run `npm install testx-postgres-keywords --save` from the project root.
Set postgresConnectionString in config file or as command-line argument, or provide connection string in keyword step.