Skip to main content
Glama
TestExecutionSummary.kt985 B
package maestro.cli.model import kotlin.time.Duration // TODO: Some properties should be implemented as getters, but it's not possible. // See https://github.com/Kotlin/kotlinx.serialization/issues/805 data class TestExecutionSummary( val passed: Boolean, val suites: List<SuiteResult>, val passedCount: Int? = null, val totalTests: Int? = null, ) { data class SuiteResult( val passed: Boolean, val flows: List<FlowResult>, val duration: Duration? = null, val startTime: Long? = null, val deviceName: String? = null, ) { fun failures(): List<FlowResult> = flows.filter { it.status == FlowStatus.ERROR } } data class FlowResult( val name: String, val fileName: String?, val status: FlowStatus, val failure: Failure? = null, val duration: Duration? = null, val startTime: Long? = null, ) data class Failure( val message: String, ) }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mobile-dev-inc/Maestro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server