Tagged articles

Testcontainers

9 articles · Page 1 of 1
Linyb Geek Road
Linyb Geek Road
Sep 12, 2026 · Backend Development

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.

@RestartScope@ServiceConnection@TestConfiguration
0 likes · 10 min read
Best Way to Use Testcontainers in Spring Boot Tests: @TestConfiguration & ServiceConnection
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 1, 2026 · Backend Development

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.

CI/CDDatabase TestingDocker
0 likes · 19 min read
High-Fidelity Integration Testing: Spring Boot & Testcontainers in Production Pipelines
Cloud Architecture
Cloud Architecture
Jun 12, 2026 · Backend Development

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.

API-testingCI/CDContract Testing
0 likes · 40 min read
Building an Engineering‑Grade Full‑Link API Test Suite for Spring Boot: From Unit Tests to Production Load Testing
Java Tech Workshop
Java Tech Workshop
Apr 8, 2026 · Backend Development

SpringBoot Integration Testing: Using @SpringBootTest with MockMvc

SpringBoot integration tests load the full application context to verify end‑to‑end behavior, while unit tests only cover isolated methods; this guide explains @SpringBootTest fundamentals, configuration options, MockMvc usage, test structure, common pitfalls, and best practices for reliable full‑stack testing.

Integration TestingJUnit5MockMvc
0 likes · 26 min read
SpringBoot Integration Testing: Using @SpringBootTest with MockMvc
LuTiao Programming
LuTiao Programming
Feb 2, 2026 · Backend Development

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.

AOTActuatorFlyway
0 likes · 9 min read
2026 Spring Boot Stack Overhaul: 10 Essential Plugins to Adopt Early
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 2, 2025 · Backend Development

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.

Custom ConditionsSpring BootStarter Development
0 likes · 15 min read
Unlock 10 Hidden Spring Boot Tricks to Supercharge Your Apps
Java Architecture Diary
Java Architecture Diary
Aug 31, 2023 · Backend Development

Master Spring 6.1 JdbcClient: Simplify CRUD with Fluent API

This guide walks through Spring Framework 6.1's new JdbcClient API, showing how to define a Bookmark entity, create the corresponding MySQL schema, perform fluent CRUD operations, and verify them with Testcontainers‑based integration tests in a Spring Boot 3.2 project.

CRUDJavaJdbcClient
0 likes · 12 min read
Master Spring 6.1 JdbcClient: Simplify CRUD with Fluent API
Programmer DD
Programmer DD
May 22, 2023 · Backend Development

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.

Backend DevelopmentDocker ComposeHibernate
0 likes · 10 min read
What’s New in Spring Boot 3.1? Key Features and Upgrades Explained