pub fn extract_java_tests(
path: &str,
source: &str,
) -> Result<Vec<ExtractedTest>, ExtractError>Expand description
Extract Java (JUnit) tests: methods annotated with one of
[JVM_TEST_ANNOTATIONS] directly inside class / record / interface / enum
bodies. Markers come from the // / /* */ comment block immediately
preceding the method; content starts at the first non-annotation token.