All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.saveourtool.save.agent.TestExecutionExtDto.kt Maven / Gradle / Ivy

The newest version!
package com.saveourtool.save.agent

import com.saveourtool.save.test.analysis.metrics.NoDataAvailable
import com.saveourtool.save.test.analysis.metrics.TestMetrics
import com.saveourtool.save.test.analysis.results.AnalysisResult
import kotlinx.serialization.Serializable

/**
 * An "extended" [test execution][TestExecutionDto] with some extra information,
 * such as test metrics.
 *
 * Use [TestExecutionDto.toExtended] to create an extension.
 *
 * @property testExecution the actual test execution data.
 * @property hasDebugInfo whether debug info data is available for this test execution
 * @property testMetrics scalar test metrics.
 * @property analysisResults test analysis results.
 * @see TestExecutionDto
 */
@Serializable
data class TestExecutionExtDto(
    val testExecution: TestExecutionDto,
    val hasDebugInfo: Boolean? = null,
    val testMetrics: TestMetrics = NoDataAvailable.instance,
    val analysisResults: List = emptyList(),
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy