hydra.java.testing module
Java test code generation codec for JUnit-based generation tests.
- hydra.java.testing.build_java_test_module(test_module: Module, test_group: TestGroup, test_body: str) str
Build the complete Java test module content.
- hydra.java.testing.format_java_test_name(name: str) str
Format a test name for Java (PascalCase method name with ‘test’ prefix).
- hydra.java.testing.generate_java_test_case(group_path: Sequence[str], tcm: TestCaseWithMetadata) object
Generate a single JUnit test case from a test case with metadata.
- hydra.java.testing.generate_java_test_file(test_module: Module, test_group: TestGroup, _g: T0) object
Generate a Java test file for a test group.
- hydra.java.testing.generate_java_test_group_hierarchy(group_path: Sequence[str], test_group: TestGroup) object
Generate test hierarchy for Java with nested subgroups.
- hydra.java.testing.generate_test_file_with_java_codec(test_module: Module, test_group: TestGroup) object
Generate a complete test file for Java.
- hydra.java.testing.namespace_to_java_class_name(ns_: ModuleName) str
Convert namespace to Java class name.