testcontainers-java icon indicating copy to clipboard operation
testcontainers-java copied to clipboard

Fix JUnit 4 quickstart full-class codeinclude

Open singhvishalkr opened this issue 6 months ago • 1 comments

Fixes #1415.

What is the purpose of your change

Section 4 on the JUnit 4 quickstart page showed broken codeinclude output (readers saw macro-related text instead of the full example class).

How does it work

The full-class snippet now matches the JUnit 5 quickstart: inside_block:class plus // class { … // } markers around the sample in RedisBackedCacheIntTest.java, which is the pattern already documented in docs/contributing_docs.md for grabbing a whole class without relying on fragile lock: matching.

singhvishalkr avatar May 08 '26 13:05 singhvishalkr

Quick check-in: branch is rebased on my side when possible and CI is the source of truth. I can adjust to maintainer preferences once I see review feedback.

singhvishalkr avatar May 18 '26 18:05 singhvishalkr