Pgtemp: The easiest way to write tests with Postgres in Rust, without Docker

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • pgtemp

    Rust library and daemon for easily starting postgres databases per-test without Docker

  • copycat

    Generate deterministic fake values: The same input will always generate the same fake-output. (by snaplet)

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • ephemeral-postgres

    Starts a postgres in docker where any credentials or database name is accepted

  • I made a similar (less features) docker based thing https://github.com/mnahkies/ephemeral-postgres - in my instance I was just sick of creating users/databases with the right names when hopping between projects.

    In general I expect test suites to put things into the expected starting state, though I can see the appeal of giving each suite it's own isolated state since that makes parallelism easier

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts