Tool to run Java unit tests using the IDE integration

Feature request for product/service

Cursor IDE

Describe the request

The agent tries to run unit tests using mvn. In multi-module (reactor) projects, the generated command doesn’t work. Maven has a couple of quirks that make it difficult to run a single test in a multi-module project from the CLI. Even if it did work, it would often require recompiling a number of dependency projects.

With the Java extension pack installed, there’s a built-in test runner that can directly run one test or an entire package of tests. It’s pretty nice to work with, clearly showing progress and failures. It would be good if the agent could call that test runner instead of struggling with Maven.