find_tests
Locate test classes and methods in a Java project. Supports JUnit 4, JUnit 5, and TestNG annotations. Filter by name pattern and include disabled tests if needed.
Instructions
Find test classes and methods in the project.
USAGE: find_tests() OUTPUT: List of test classes with their test methods
Supports:
JUnit 4 (@Test, @Before, @After, etc.)
JUnit 5 (@Test, @BeforeEach, @AfterEach, etc.)
TestNG annotations
Requires load_project to be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | Filter test classes by name pattern (glob) | |
| includeDisabled | No | Include disabled/ignored tests (default false) |