Package io.github.mov2day.unifiedtest
Class UnifiedTestAgentPlugin.UnifiedTestExtensionConfig
java.lang.Object
io.github.mov2day.unifiedtest.UnifiedTestAgentPlugin.UnifiedTestExtensionConfig
- Enclosing class:
UnifiedTestAgentPlugin
Configuration class for UnifiedTest plugin extension.
Provides configuration options for test framework selection and report generation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionUnifiedTestExtensionConfig(org.gradle.api.model.ObjectFactory objects) Creates a new configuration instance. -
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Property<Boolean> Gets whether dashboard generation is enabled.org.gradle.api.provider.Property<String> Gets the configured test framework.org.gradle.api.provider.Property<Boolean> Gets whether HTML report generation is enabled.org.gradle.api.provider.Property<Boolean> Gets whether JSON report generation is enabled.Nested telemetry DSL: unifiedTest { telemetry { enabled = true } }.org.gradle.api.provider.Property<Boolean> Gets whether OpenTelemetry export is enabled.org.gradle.api.provider.Property<String> Gets the configured OpenTelemetry endpoint.org.gradle.api.provider.Property<String> Gets the configured service name for telemetry and dashboards.org.gradle.api.provider.Property<String> Gets the optional trace link base URL used by the HTML report.org.gradle.api.provider.Property<String> getTheme()Gets the configured theme for console output.voidtelemetry(org.gradle.api.Action<? super UnifiedTestAgentPlugin.UnifiedTestExtensionConfig.TelemetryConfig> action) Configures nested telemetry settings.
-
Constructor Details
-
UnifiedTestExtensionConfig
@Inject public UnifiedTestExtensionConfig(org.gradle.api.model.ObjectFactory objects) Creates a new configuration instance.- Parameters:
objects- the object factory for creating properties
-
-
Method Details
-
getFramework
Gets the configured test framework.- Returns:
- the test framework property
-
getTheme
Gets the configured theme for console output.- Returns:
- the theme property
-
getJsonEnabled
Gets whether JSON report generation is enabled.- Returns:
- the JSON enabled property
-
getHtmlEnabled
Gets whether HTML report generation is enabled.- Returns:
- the HTML enabled property
-
getTelemetryEnabled
Gets whether OpenTelemetry export is enabled.- Returns:
- the telemetry enabled property
-
getTelemetryEndpoint
Gets the configured OpenTelemetry endpoint.- Returns:
- the telemetry endpoint property
-
getTelemetryServiceName
Gets the configured service name for telemetry and dashboards.- Returns:
- the service name property
-
getTelemetryTraceBaseUrl
Gets the optional trace link base URL used by the HTML report.- Returns:
- the trace base URL property
-
getDashboardEnabled
Gets whether dashboard generation is enabled.- Returns:
- dashboard enabled property
-
getTelemetry
Nested telemetry DSL: unifiedTest { telemetry { enabled = true } }.- Returns:
- telemetry config
-
telemetry
public void telemetry(org.gradle.api.Action<? super UnifiedTestAgentPlugin.UnifiedTestExtensionConfig.TelemetryConfig> action) Configures nested telemetry settings.- Parameters:
action- Gradle action
-