Document running single test bundles and classes in AGENTS.md#2380
Document running single test bundles and classes in AGENTS.md#2380vogella wants to merge 1 commit into
Conversation
|
@HannesWell pinging you as PDE project lead, no idea by the PR validation is failing but it is definitely not cause by this PR. |
I assume it's because in I-builds the Javadoc in the pde.doc bundle is built with Java-25 while in the verification build it's build with Java-21. And that JDK's number is recorded in the generated files and also leads to other slightly different content. |
|
Run the PR verification build is inevitable - moving to Java 25 will be allowed for December release thus figuring build/releng things earlier could only benefit us. |
Add a 'Running Specific Tests Locally' section covering how to run one test bundle with -pl, a single test class with -Dtest, building a source bundle together with its test bundle, and the Wayland-safe headless invocation. Commands verified against org.eclipse.pde.ui.tests.
7e0d268 to
0f996c1
Compare
Adds a short 'Running Specific Tests Locally' section to AGENTS.md.
It documents how to run a single test bundle with
-pl, a single test class with-Dtest=<ClassName>(which overrides the bundle's default suite), how to build a source bundle together with its test bundle, and the Wayland-safe headless invocation. The commands were verified locally againstorg.eclipse.pde.ui.tests, where-Dtestcorrectly ran a single class instead of the fullAllPDETestssuite. This makes local test iteration much faster than running the whole suite.