Mailpit Gem
A local SMTP server and web inbox for testing the emails your app sends.
Instead of: MailHog (unmaintained), sending test emails to your own address
Spin up real databases and services in Docker from inside your tests.
Testcontainers libraries start throwaway containers (Postgres, Redis, Kafka and more) for a test run and clean them up afterwards. Your integration tests hit the real thing instead of mocks.
Mocked database layers, shared test databases, hand-written docker-compose setup
Bugs slip through because your tests mock the database or message broker.
npm i -D testcontainers @testcontainers/postgresql
// in a test:
// const pg = await new PostgreSqlContainer("postgres:16").start(); A local SMTP server and web inbox for testing the emails your app sends.
Instead of: MailHog (unmaintained), sending test emails to your own address
A fast JavaScript runtime, package manager, bundler and test runner in one binary.
Instead of: Node.js + npm + ts-node + Jest + a bundler
Use LLMs from the command line and pipe anything into them.
Instead of: Copy-pasting terminal output into a chat window
Run your GitHub Actions workflows locally in Docker.
Instead of: "fix ci" commit after "fix ci" commit