testing-internals
Installation
SKILL.md
Test Execution Internals
This document explains tests.cmd internals and helps troubleshoot test execution issues.
Overview
The test execution chain:
tests.cmd → Bazel → IdeaUltimateRunTestsBuildTarget → TestingTasksImpl → JUnit 5
Key components:
- tests.cmd: Shell script that invokes Bazel with test parameters
- Bazel target:
//build:local_idea_ultimate_run_tests_build_target - TestingOptions: Parses
-Dintellij.build.test.*system properties - TestingTasksImpl: Orchestrates classpath assembly and JVM setup
- JUnit runners: Execute tests in a forked JVM process