gradle-docker-compose-plugin
testcontainers-node
gradle-docker-compose-plugin | testcontainers-node | |
---|---|---|
1 | 26 | |
402 | 1,705 | |
0.0% | 5.2% | |
6.3 | 8.4 | |
6 days ago | 7 days ago | |
Groovy | TypeScript | |
MIT License | MIT License |
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.
gradle-docker-compose-plugin
-
Testcontainers
Something that improved developer experience by far and also sped up our builds is starting the container dependencies via docker-compose and connect to it for integration testing. This allows reuse of containers, you can connect to it after/during an integration test to debug without having to keep searching for ports constantly.
With TestContainers - I've perceived that running integration tests / a single test repeatedly locally is extremely slow as the containers are shut down when the java process is killed. This approach allows for this while also allowing to keep it consistent - example, just mount the migrations folder in the start volume of your DB container and you have a like-for-like schema of your prod DB ready for integration tests.
I've found the https://github.com/avast/gradle-docker-compose-plugin/ very useful for this.
testcontainers-node
-
Multiple MongoDB Databases on Spring Boot
To be able to test for multiple databases, I recommend you using Testcontainers. That's my configuration to start the container:
-
Show HN: I open-sourced the in-memory PostgreSQL I built at work for E2E tests
I don't get it either. Why not use something like https://testcontainers.com/?
- Utilizando Testcontainers para Testes de Integração com NestJS e Prisma ORM
- Testcontainers
-
Rust Tooling: 8 tools that will increase your productivity
Testing with added infrastructure can be quite tricky. testcontainers aims to solve this by providing an open-source framework for providing local, lightweight containers for your application that can be immediately thrown away after use. It also has a Rust SDK!
-
Run and test DynamoDB applications locally using Docker and Testcontainers
This is a good start. But DynamoDB Local is a great fit for Testcontainers which "is an open source framework for providing throwaway, lightweight instances of databases, message brokers, web browsers, or just about anything that can run in a Docker container."
- API completa em Golang - Parte 7
- We built our customer data warehouse all on Postgres
-
Quarkus : Greener, Better, Faster, Stronger
Devservices supports the automatic provisioning of unconfigured third party services in development and test mode. They can be provided by extension leveraging (usually) TestContainer library.
-
The day I started believing in Unit Tests (2023)
I hadn’t heard of Test Containers[1], but it looks really useful - thanks for the rec.
[1] https://testcontainers.com/
What are some alternatives?
services-flake - NixOS-like services for Nix flakes
nestjs-testing - Testing tutorial using NestJs
otj-pg-embedded - Java embedded PostgreSQL component for testing
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
embedded-postgres-binaries - Lightweight bundles of PostgreSQL binaries with reduced size intended for testing purposes.
jest - Delightful JavaScript Testing.
nammayatri - A Direct-to-Driver open mobility platform powering the next-generation of mobility applications in India.
mocha - ☕️ simple, flexible, fun javascript test framework for node.js & the browser
latte - Latte is a modern data engineering toolkit.
Cucumber.js - Cucumber for JavaScript
dagger - Application Delivery as Code that Runs Anywhere
TestCafe - A Node.js tool to automate end-to-end web testing.