JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q33043F
  • License MIT

Tools for running SQL Database Tests

Package Exports

  • sql-snap

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sql-snap) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

SQL-Snap

Build Status npm version

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 supports pgSQL, and sqlite, but you can easily create a new dialect for any sql provider you want.

RoadMap

  • Add more dialect (mysql, mssql ...)