find_tests
Locate test classes and methods in Java projects using JUnit 4, JUnit 5, or TestNG annotations to identify testing components.
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 |
|---|---|---|---|
| includeDisabled | No | Include disabled/ignored tests (default false) | |
| pattern | No | Filter test classes by name pattern (glob) |