From 5cd9c54a7f01fc11f080909064bec4422cc8fee0 Mon Sep 17 00:00:00 2001 From: Aaron Niskode-Dossett Date: Tue, 24 Nov 2026 08:24:25 -0600 Subject: [PATCH 1/3] docs: surface the optional Docker test workflow --- AGENTS.md | 4 ++++ agents/docs/writing-tests.md | 18 +++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 1c6841a0a5..7e73203475 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -24,6 +24,10 @@ linked document for the task at hand rather than loading everything up front. ## Tests +The [developer container](./dev/docker/README.md) is an optional starting point +for a local Java, Maven, and Thrift test environment. Tests can also run directly +on the host when the required toolchain is installed. + Tests use **JUnit 5 + [AssertJ](https://assertj.github.io/doc/)**. Before writing, reviewing, or migrating tests, read the relevant guide under [`agents/docs/`](./agents/docs): diff --git a/agents/docs/writing-tests.md b/agents/docs/writing-tests.md index 05d0ec4ca7..84ab0ccb28 100644 --- a/agents/docs/writing-tests.md +++ b/agents/docs/writing-tests.md @@ -693,5 +693,21 @@ After writing or changing tests, apply formatting and run tests for the affected ```bash ./mvnw spotless:apply -pl -mvn -pl test +./mvnw -pl -am test ``` + +The [developer container](../../dev/docker/README.md) is an optional starting +point for a local test environment with Java, Maven, and Thrift. If using it, +follow the image setup instructions there, then run the affected module and its +prerequisites from the repository root: + +```bash +docker run --rm --init \ + --mount "type=bind,src=$PWD,dst=/workspace" \ + --mount type=volume,src=parquet-java-m2,dst=/home/parquet/.m2 \ + parquet-java-dev \ + ./mvnw --batch-mode -pl -am test +``` + +To apply formatting in the container, use the same invocation with +`./mvnw spotless:apply -pl ` as the command. From 8ff96e0fe891b087f7136e4168e1bff6714a6d01 Mon Sep 17 00:00:00 2001 From: Aaron Niskode-Dossett Date: Tue, 24 Nov 2026 08:27:11 -0600 Subject: [PATCH 2/3] docs: keep Docker guidance to an optional reference --- agents/docs/writing-tests.md | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/agents/docs/writing-tests.md b/agents/docs/writing-tests.md index 84ab0ccb28..5b87e4add6 100644 --- a/agents/docs/writing-tests.md +++ b/agents/docs/writing-tests.md @@ -693,21 +693,9 @@ After writing or changing tests, apply formatting and run tests for the affected ```bash ./mvnw spotless:apply -pl -./mvnw -pl -am test +./mvnw -pl test ``` The [developer container](../../dev/docker/README.md) is an optional starting -point for a local test environment with Java, Maven, and Thrift. If using it, -follow the image setup instructions there, then run the affected module and its -prerequisites from the repository root: - -```bash -docker run --rm --init \ - --mount "type=bind,src=$PWD,dst=/workspace" \ - --mount type=volume,src=parquet-java-m2,dst=/home/parquet/.m2 \ - parquet-java-dev \ - ./mvnw --batch-mode -pl -am test -``` - -To apply formatting in the container, use the same invocation with -`./mvnw spotless:apply -pl ` as the command. +point for a local test environment with Java, Maven, and Thrift. See its README +for setup and testing instructions. From 374f7cb83e55baa9d7ac1dc2f324f0cad4955826 Mon Sep 17 00:00:00 2001 From: Aaron Niskode-Dossett Date: Tue, 24 Nov 2026 08:30:11 -0600 Subject: [PATCH 3/3] docs: include reactor dependencies in module test command --- agents/docs/writing-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/docs/writing-tests.md b/agents/docs/writing-tests.md index 5b87e4add6..cb0dad0424 100644 --- a/agents/docs/writing-tests.md +++ b/agents/docs/writing-tests.md @@ -693,7 +693,7 @@ After writing or changing tests, apply formatting and run tests for the affected ```bash ./mvnw spotless:apply -pl -./mvnw -pl test +./mvnw -pl -am test ``` The [developer container](../../dev/docker/README.md) is an optional starting