pgtestdb VS testy

Compare pgtestdb vs testy and see what are their differences.

pgtestdb

quickly run tests in their own temporary, isolated, postgres databases (by peterldowns)

testy

test helpers for more meaningful, readable, and fluent tests (by peterldowns)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
pgtestdb testy
2 3
99 34
- -
6.8 5.1
about 1 month ago 3 months ago
Go Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pgtestdb

Posts with mentions or reviews of pgtestdb. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-05.
  • Russ Cox: Go Testing by Example
    8 projects | news.ycombinator.com | 5 Dec 2023
    Agreed with most of this but I’m skeptical of the rsc.io/script dsl approach. I’ll try it, though, because Russ is often right.

    shameless advert: do you wish testify was implemented with generics and go-cmp, and had a more understandable surface area? Check out my small zero-dep library, Testy https://github.com/peterldowns/testy

    shameless advert: do you want to write tests against your postgres database, but each new test adds seconds to your test suite? Check out pgtestdb, the marginal cost of each test is measured in tens of milliseconds, and each test gets a unique and isolated postgres instance — with all your migrations applied. https://github.com/peterldowns/pgtestdb

  • Show HN: SQL Dry Runs with SQL Simulator
    2 projects | news.ycombinator.com | 4 Jun 2023
    Hi Weston, congratulations on launching. You've done a great job of explaining what the project is and how it works. I'm not in the ecosystem you've built this for so I can't comment too much on the project itself, but nice work communicating it.

    If anyone is interested in testing code/sql against postgres, I recently released https://github.com/peterldowns/pgtestdb. It uses template databases and advisory locks to give each test its own unique database with a near-zero marginal cost for each additional test. Combined with a ram/tmpfs-backed postgres server that is tuned for performance, it goes extremely fast.

    Currently just for golang but I'm planning on releasing equivalent-capability libraries for Python and Typescript over the next month. If anyone has any thoughts/comments/feedback/suggestions I'd be extremely thankful.

testy

Posts with mentions or reviews of testy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-05.
  • Russ Cox: Go Testing by Example
    8 projects | news.ycombinator.com | 5 Dec 2023
    Agreed with most of this but I’m skeptical of the rsc.io/script dsl approach. I’ll try it, though, because Russ is often right.

    shameless advert: do you wish testify was implemented with generics and go-cmp, and had a more understandable surface area? Check out my small zero-dep library, Testy https://github.com/peterldowns/testy

    shameless advert: do you want to write tests against your postgres database, but each new test adds seconds to your test suite? Check out pgtestdb, the marginal cost of each test is measured in tens of milliseconds, and each test gets a unique and isolated postgres instance — with all your migrations applied. https://github.com/peterldowns/pgtestdb

  • Show HN: Testy, a better Golang testing library
    1 project | news.ycombinator.com | 23 May 2023
  • Ask HN: What's your favorite software testing framework and why?
    15 projects | news.ycombinator.com | 21 May 2023
    Finished, take a look if you're curious --

    https://github.com/peterldowns/testy

What are some alternatives?

When comparing pgtestdb and testy you can also consider the following projects:

jsverify - Write powerful and concise tests. Property-based testing for JavaScript. Like QuickCheck.

tricorder - Automation the KISS way

bats - Bash Automated Testing System

embedded-postgres - Java embedded PostgreSQL component for testing

hitchstory - Type-safe YAML integration tests. Tests that write your docs. Tests that rewrite themselves.

greenlight - Clojure integration testing framework

LazySmallCheck2012 - Lazy SmallCheck with functional values and existentials!

datadriven - Data-Driven Testing for Go

ospec - Noiseless testing framework

php-easycheck - Mirror of http://chriswarbo.net/git/php-easycheck

vitest - Next generation testing framework powered by Vite.

venom - 🐍 Manage and run your integration tests with efficiency - Venom run executors (script, HTTP Request, web, imap, etc... ) and assertions