| name | judo-integration-testing-docs |
| description | Integration testing guide for JUDO backend. Covers testkit usage, test patterns, and custom operation testing. |
| disable-model-invocation | false |
| user-invocable | false |
| model | inherit |
| context | fork |
| agent | general-purpose |
Integration Testing Guide
Overview
This guide covers integration testing for custom business logic in northwind. It focuses on using the judo-runtime-core-testkit to test custom operations, interceptors, and validators.
For a complete understanding of the backend architecture, code generation, and custom implementation patterns, please refer to the main Backend Development Guide (see judo-backend-docs skill).
Note: Throughout this document, northwind refers to the application name from judo.properties (app_name property). Package names, file paths, and generated artifacts use this value.
Prerequisites
Required Tool Versions
This project uses SDKMAN for version management. Required versions are specified in .sdkmanrc:
java=21.0.7-zulu
maven=3.9.10
mvnd=1.0.2
Setup:
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
echo "sdkman_auto_env=true" >> ~/.sdkman/etc/config
cd [project-name]
sdk env install
java -version
mvn -version
How It Works:
.sdkmanrc is generated by ./judo.sh generate-root command
- When
sdkman_auto_env=true, SDKMAN automatically switches to project versions when you enter the directory
./judo.sh script automatically installs required versions if missing
Maven Daemon (mvnd): Optional but recommended for faster builds
mvnd clean install
Related Documentation
For comprehensive information on backend development, please see the Backend Development Guide (see judo-backend-docs skill).