Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Query Testing framework

Project description


⠀⣾⣷⣶⠇⠀⠀⣤⣄⣀⡀⠈⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀  Tests have layers
⠀⠉⠈⠉⠀⠀⢦⡈⢻⣿⣿⣿⣶⣶⣶⣶⣤⣽⡹⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀  Ogres have layers
⠀⠀⠀⠀⠀⠀⠀⠉⠲⣽⡻⢿⣿⣿⣿⣿⣿⣿⣷⣜⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀        ~ Anonymous 


Query testing framework.

Currently supports only Exasol DB.

This project uses Poetry for dependency management and packaging.


To setup your virtual environment run the following command. The default location for poetry venvs is ~/Library/Caches/pypoetry/virtualenvs

poetry install

To run tests and lint checks:

make checks

To run linter on all files:

make lint



Currently we only support Exasol connections. To run local instance of Exasol as docker container run:

docker run  -p 8999:8888 --detach --privileged --stop-timeout 120  exasol/docker-db:6.0.13-d1

(MacOS) Keep in mind that Exasol is memory-heavy and you need to increase docker memory limit to at least 4GB


ShreQT uses following environment variables to connect to database.

Variable Default Value
SHREQT_DSN localhost:8999


The example directory contains simple example which illustrates the example usage.

  • includes simple User schema and code which sets up the database for test session.
  • includes a tested function.
  • include example test function.

You can run the example with:

make run-example

Build && Deploy

Setup ~/.pypirc with credentials.

Run checks and build package:

make build

Deploy package to pypi using poetry:

make deploy


  • Automate deployment step with travis
  • ContextManger/Decorator functionality for temporary layer
  • Option to automatically clean layers up once dbonion is destroyed.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for shreqt, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size shreqt-0.3.0-py3-none-any.whl (6.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size shreqt-0.3.0.tar.gz (5.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page