./gradlew testOr run VersionControlTest directly from IntelliJ
You should expect 2 runs in total
- Check the setup PR
- Check the test implementation PR
- Open the Registry in IntelliJ (Ctrl+Shift+A → "Registry")
- Enable debugger.auto.attach.from.console
- Hit Debug on the test instead of Run
The first run will take longer because the framework:
- Downloads IntelliJ IDEA Community Edition (ideaIC-252.28539.54.exe)
- Extracts it to out/ide-tests/cache/builds/
- Clones the GitHub project to out/ide-tests/cache/projects/
Subsequent runs reuse the cached IDE and project.
If a test crashes, kill any stale IDE processes and clean the test state, then re-run. The stale PID will appear in the error log as owner pid: .
Gradle generates an HTML report at:
build/reports/tests/test/index.html