Commit Graph
6 Commits
Author SHA1 Message Date
asmhatre fd3434c42d Add testcontainers2 module: Testcontainers 2.0 artifact renames, JUnit 4 removal, and the Docker API version bump
Verifies five claims against primary sources rather than release-note prose: the
org.testcontainers:junit-jupiter -> testcontainers-junit-jupiter rename (and the other 60 like
it, per OpenRewrite's own Testcontainers2Migration recipe), that GenericContainer no longer
implements org.junit.rules.TestRule anywhere in the 2.0.5 jar (confirmed exhaustively, not just
for this one class), the real compiler/dependency-resolution breaks from bumping only a version
number on existing JUnit 4 @ClassRule code, the literal 1.32 -> 1.44 default Docker API version
bump in DockerClientProviderStrategy's bytecode (tied to the real Docker Engine 29 compatibility
issue), and Spring Boot 4.1.1's BOM pinning 2.0.5. Built and tested with no Docker daemon
available; one test class demonstrates a clean @EnabledIfDockerAvailable skip, guarded at the
class level after the method-level guard was caught failing first.
2026-10-08 13:19:23 +00:00
Claude 2b2fbe54a2 Add parameterized module: JUnit 5 @ParameterizedTest argument sources, display names, and two real anti-pattern failures 2026-10-04 11:54:49 +00:00
Claude 8be1245951 Add archunit module: ArchUnit for Spring Boot - enforcing layered architecture as a unit test 2026-10-03 21:21:03 +00:00
Claude 3d05e483cc Fix companion post URL to match published slug (junit-displayname-nested-tag) 2026-10-01 16:45:31 +00:00
asmhatre 550c585e05 Add JUnit 6 DisplayNameGenerator, @Nested structure, and @Tag filtering demo 2026-10-01 16:33:11 +00:00
Ankur 5ed079dff3 Add JUnit 5 @RepeatedTest demo project
Initial commit of a Maven project demonstrating JUnit 5's @RepeatedTest annotation. Includes example tests for basic repetition, custom display names, metadata injection, lifecycle management, and failure thresholds. Project files include .gitignore, README, pom.xml, and test classes under src/test/java/com/ankurm/tutorials/junit/repeated.
2025-12-31 17:38:29 +05:30