Package jline.unified
Class UnifiedTestSuite
-
- All Implemented Interfaces:
@TestInstance(value = TestInstance.Lifecycle.PER_CLASS)@DisplayName(value = "Unified Cross-Language Tests") public final class UnifiedTestSuiteJUnit5 test suite for unified cross-language tests.
This class provides JUnit5-compatible test methods that run the unified tests against all available JSON definitions.
Usage: mvn test -Dtest=UnifiedTestSuite
-
-
Constructor Summary
Constructors Constructor Description UnifiedTestSuite()
-
Method Summary
Modifier and Type Method Description final Unitsetup()final List<DynamicTest>testAllModels()Dynamic test factory that generates a test for each model definition. final UnittestRegistryHasModels()Test that the ModelRegistry has models registered. final List<DynamicTest>testRegistryCanBuildModels()Test that basic models can be built from the registry. final List<DynamicTest>testDefinitionsValidJson()Test that all definition files are valid JSON. final List<DynamicTest>testDefinitionsMatchSchema()Test that definitions conform to schema structure. -
-
Method Detail
-
testAllModels
@TestFactory()@DisplayName(value = "Model Tests") final List<DynamicTest> testAllModels()
Dynamic test factory that generates a test for each model definition.
This uses JUnit5's dynamic test feature to create one test per model, allowing individual model tests to be run independently.
-
testRegistryHasModels
@Test()@DisplayName(value = "Registry has models registered") final Unit testRegistryHasModels()
Test that the ModelRegistry has models registered.
-
testRegistryCanBuildModels
@TestFactory()@DisplayName(value = "Registry can build models") final List<DynamicTest> testRegistryCanBuildModels()
Test that basic models can be built from the registry.
-
testDefinitionsValidJson
@TestFactory()@DisplayName(value = "Definitions are valid JSON") final List<DynamicTest> testDefinitionsValidJson()
Test that all definition files are valid JSON.
-
testDefinitionsMatchSchema
@TestFactory()@DisplayName(value = "Definitions match schema") final List<DynamicTest> testDefinitionsMatchSchema()
Test that definitions conform to schema structure.
-
-
-
-