All Projects → eradman → Ephemeralpg

eradman / Ephemeralpg

Licence: other
Quickly spin up a temporary PostgreSQL test databases

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Ephemeralpg

Aspnet Core React Template
ASP.NET Core 3.1 / React SPA Template App
Stars: ✭ 539 (+1282.05%)
Mutual labels:  postgresql-database
Postgresql book
Book about PostgreSQL (russian)
Stars: ✭ 780 (+1900%)
Mutual labels:  postgresql-database
Testlogcollectors
A framework for capturing log statements during tests. Compatible with most popular logging frameworks. Works with JUnit and TestNG
Stars: ✭ 31 (-20.51%)
Mutual labels:  test-automation
Carina
Carina automation framework: Web, Mobile, API, DB
Stars: ✭ 549 (+1307.69%)
Mutual labels:  test-automation
Green
Green is a clean, colorful, fast python test runner.
Stars: ✭ 691 (+1671.79%)
Mutual labels:  test-automation
Karma Edge Launcher
A Karma plugin. Launcher for Microsoft Edge.
Stars: ✭ 14 (-64.1%)
Mutual labels:  test-automation
Airtest
UI Automation Framework for Games and Apps
Stars: ✭ 5,733 (+14600%)
Mutual labels:  test-automation
Php Vcr
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
Stars: ✭ 976 (+2402.56%)
Mutual labels:  test-automation
Tavern
A command-line tool and Python library and Pytest plugin for automated testing of RESTful APIs, with a simple, concise and flexible YAML-based syntax
Stars: ✭ 760 (+1848.72%)
Mutual labels:  test-automation
Virtualmeter
A general develop framework for smart meter.
Stars: ✭ 31 (-20.51%)
Mutual labels:  test-automation
Spring Testing
A Spring Boot application with lots of sample tests
Stars: ✭ 569 (+1358.97%)
Mutual labels:  test-automation
Rest Assured
Java DSL for easy testing of REST services
Stars: ✭ 5,646 (+14376.92%)
Mutual labels:  test-automation
Guardian auth
The Guardian Authentication Implementation Using Ecto/Postgresql Elixir Phoenix [ User Authentication ]
Stars: ✭ 15 (-61.54%)
Mutual labels:  postgresql-database
Fuzzingbook
Project page for "The Fuzzing Book"
Stars: ✭ 549 (+1307.69%)
Mutual labels:  test-automation
Ghpr.nunit
Adapter for NUnit 3 (generate HTML report for NUnit 3)
Stars: ✭ 33 (-15.38%)
Mutual labels:  test-automation
Testcontainers Java
Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
Stars: ✭ 5,478 (+13946.15%)
Mutual labels:  test-automation
Ecommerceapp
QA Strategy for microservices with Synchronous and Asynchronous communication
Stars: ✭ 27 (-30.77%)
Mutual labels:  test-automation
Entr
A utility for running arbitrary commands when files change
Stars: ✭ 976 (+2402.56%)
Mutual labels:  test-automation
Pyats Docker
Dockerfile and scripts for pyATS
Stars: ✭ 34 (-12.82%)
Mutual labels:  test-automation
Cypress
Fast, easy and reliable testing for anything that runs in a browser.
Stars: ✭ 35,145 (+90015.38%)
Mutual labels:  test-automation

Ephemeral PostgreSQL

Run tests on an isolated, temporary PostgreSQL database.

Temporary database created with pg_tmp have a limited shared memory footprint and are automatically garbage-collected after the number of seconds specified by the -w option (the default is 60).

pg_tmp reduces the wait time for a new database to less than one second by initializing a database in the background that is used by subsequent invocations.

Source Installation - BSD, Mac OS, and Linux

make install

Or to specify a specific installation location

PREFIX=$HOME/local make install

Source Installation - SmartOS/Solaris

LDFLAGS='-lsocket -lnsl' make install

Man Page Examples for pg_tmp(1)

Create a temporary database and run a query:

uri=$(pg_tmp)
psql $uri -f my.sql

Start a temporary server with a custom extension:

uri=$(pg_tmp -o "-c shared_preload_libraries=$PWD/auth_hook")
psql $uri -c "SELECT 1"

Man Page Examples for ddl_compare(1)

Find the differences between a test instance and a schema definition

pg_dump -s $test_url > test.sql
ddl_compare -g roles.sql test.sql schema.sql

News

A release history as well as features in the upcoming release are covered in the NEWS file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].