Repository navigation
Describe the unit and integration tests in AGENTS.md - #60
Merged
Merged
Conversation
AGENTS.md still said the project had no tests, though `./gradlew build` now runs the unit tests in src/test/java, and src/integration/java holds integration tests that `./gradlew integrationTest` runs against the app in containers. Neither build nor CI runs those, so agents skipped them or treated the first test as theirs to set up. Say what each kind covers, that agents run the integration tests themselves for changes to behavior or pages and add a case for what they change, and where the README documents the settings for other ports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
AGENTS.md's Development section said "There are no tests yet". Since then:./gradlew buildruns the unit tests insrc/test/java, and so does CI.src/integration/javahas integration tests (PagesIT,ReadinessIT,StatusReportsIT,MaskingRequestIT) that./gradlew integrationTestruns against the app in containers. Neitherbuildnor CI runs them.The section now says:
buildruns;SRM_URL,KEYCLOAK_URLandMAILHOG_URL.The pre-PR step now runs the integration tests after rebuilding the app.
The shared rules block isn't touched. Documentation only: no upgrade steps.
Checks
./gradlew build: passed, in 13 s from clean and 1 s warm. The "about 20 s cold" figure still fits, so I left it.Decisions
AGENTS.mdstill said there were no tests.Prepared-by: Anthropic Claude Code:claude-opus-5-5
🤖 Generated with Claude Code