/sql-snap

Tool for Testing PG Sql

Primary LanguageTypeScript

SQL-Snap

Build Status

Install

SQL-Snap is available on NPM.

$ npm i -D sql-snap

Concept

Sql-Snap is a simple tool to excute SQL Statement. What makes it usefull is that you can use for Functional Testing an API that neeks to mock database information.

With Snap you can set a test sql file, and the run statement before each Tests.

Currently Sql-Snap only works with pgSQL.

RoadMap

  • Add Support to other SQL types.
  • Use peer dependencies
  • Create Jest-Preset
  • Add Tests