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..cb0dad0424 100644 --- a/agents/docs/writing-tests.md +++ b/agents/docs/writing-tests.md @@ -693,5 +693,9 @@ 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. See its README +for setup and testing instructions.