xmp4_tests_for
Find direct tests that exercise a given symbol (direct callers filtered to test-file candidates per language pattern: CSharp/Java/PHP: Test(s).; Python: test_.py / *_test.py; TypeScript/JavaScript: *.spec/test.{ts,js}; Rust: *_tests.rs / tests/; etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docs | No | Include docs: none (default) | summary | full (xmp4_info only) | |
| page | No | Page number (1-based, default 1; ignored by xmp4_info/xmp4_source) | |
| project | Yes | Project id: 'repo/project' or 'repo/project/language'. Case-insensitive prefix match. Append '/Python'|'/CSharp'|'/Java'|etc. only to disambiguate multi-language projects (e.g. 'django/Django/Python' vs 'django/Django/JavaScript'). 1 match → proceeds; N → warning lists candidates; 0 → do NOT iterate guesses, call xmp4_projects(query=...) once then retry. | |
| file_path | No | File path to disambiguate | |
| page_size | No | Results per page (default 20, max 100) | |
| symbol_name | Yes | Symbol name | |
| output_format | No | Output format: Compact (default) or Verbose |