Socket
Socket
Sign inDemoInstall

@softrams/gauge-taiko-steps-mysql

Package Overview
Dependencies
11
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @softrams/gauge-taiko-steps-mysql

Implementation of common test steps with Taiko driver for writing tests with Gauge framework


Version published
Weekly downloads
379
decreased by-2.07%
Maintainers
3
Install size
1.02 MB
Created
Weekly downloads
 

Readme

Source

Gauge Taiko Steps for MySQL

Implements gauge steps for interacting with MySQL Database, so that tests can be directly written without having to implement steps for most common scenarios.

This is built as a sample and include some basic data integrity checks. Need to enhance to include most common scenarios.

How to use it

Installl this npm package to your Gauge js project. And update STEP_IMPL_DIR in ./env/default/js.properties to include steps implemenation from this package.

STEP_IMPL_DIR = tests,node_modules/@softrams/gauge-taiko-steps-mysql/lib

Setup Database Credentials as environment variables or in properties file (./env/default/default.properties)

export DB_HOST=
export DB_USER=
export DB_PASSWORD=
export DB_DATABASE=

And that's it. Start writing tests.

Thanks to these amazing projects

  • Gauge Framework (https://gauge.org/)
  • Taiko (https://taiko.dev/)

Keywords

FAQs

Last updated on 22 Oct 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc