Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Explore BestHub

#Testcontainers

RSS feed
Follow or choose interest 7-day signal and related keywords

Latest articles

9 articles in the current browsing window, ordered by publication date.

Best Way to Use Testcontainers in Spring Boot Tests: @TestConfiguration & ServiceConnection

This article demonstrates the optimal way to integrate Testcontainers with Spring Boot tests using @TestConfiguration, @ServiceConnection, and @RestartScope for reusable Neo4j containers, avoiding dual lifecycle management, and shows how to extend this to dev services with Testcontainers Cloud fixed port mapping.

High-Fidelity Integration Testing: Spring Boot & Testcontainers in Production Pipelines

This article shares practical experience migrating Spring Boot integration tests to Testcontainers, covering database migration with Flyway, test data factories, multi-container networking, performance optimization via container reuse and parallel execution, CI pipeline integration, and team conventions for test layering and mutation testing.

Building an Engineering‑Grade Full‑Link API Test Suite for Spring Boot: From Unit Tests to Production Load Testing

The article explains why many Spring Boot services still crash in production despite passing unit and integration tests, defines a full‑link testing concept that covers code correctness, component collaboration, contract stability, end‑to‑end business flow, and production‑scale performance, and provides a layered, risk‑driven testing architecture with concrete code examples, tooling, and CI/CD integration.

2026 Spring Boot Stack Overhaul: 10 Essential Plugins to Adopt Early

The article outlines ten essential Spring Boot plugins—Actuator, Micrometer + Prometheus, OpenTelemetry, Spring Cloud Gateway, Resilience4j, Spring Security, Flyway/Liquibase, Testcontainers, Spring Native/AOT, and structured logging—explaining why each is required for secure, observable, cloud‑native, and cost‑efficient production systems in 2026.

Unlock 10 Hidden Spring Boot Tricks to Supercharge Your Apps

This article introduces a free Spring Boot 3 ebook collection of 164 practical cases and shares ten powerful techniques—including custom @Conditional logic, lazy initialization, structured configuration binding, custom starters, Testcontainers testing, event‑driven programming, hidden Actuator endpoints, fine‑grained startup control, Tomcat performance tuning, and monitoring—to help developers build leaner, faster, and more maintainable backend services.

What’s New in Spring Boot 3.1? Key Features and Upgrades Explained

Spring Boot 3.1.0 introduces a host of enhancements—including automatic configuration for Spring Authorization Server, upgraded HttpClient support, refined Testcontainers integration, new Docker‑Compose capabilities, and updates to Hibernate, Jackson, Mockito, and SSL handling—while also providing detailed Maven and Gradle options for image building.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.