From a0c51561e783ac3a5a03ba97b4f71878bac59ff9 Mon Sep 17 00:00:00 2001 From: Karthik Periasami Date: Mon, 22 Jan 2024 13:36:07 +0530 Subject: [PATCH] add testBatchID in raw json report --- .../kotlin/com/malinskiy/marathon/report/raw/RawJsonReporter.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/kotlin/com/malinskiy/marathon/report/raw/RawJsonReporter.kt b/core/src/main/kotlin/com/malinskiy/marathon/report/raw/RawJsonReporter.kt index 66df01f58..01ba6e6bf 100644 --- a/core/src/main/kotlin/com/malinskiy/marathon/report/raw/RawJsonReporter.kt +++ b/core/src/main/kotlin/com/malinskiy/marathon/report/raw/RawJsonReporter.kt @@ -31,6 +31,7 @@ class RawJsonReporter( metaPropertiesList, it.device.serialNumber, it.testResult.status, + it.testResult.testBatchId, it.testResult.isIgnored, it.testResult.isSuccess, it.testResult.startTime, @@ -49,6 +50,7 @@ class RawJsonReporter( @SerializedName("metaProperties") val metaProperties: List, @SerializedName("deviceSerial") val deviceSerial: String, @SerializedName("status") val status: TestStatus, + @SerializedName("testBatchId") val testBatchId: String, @SerializedName("ignored") val ignored: Boolean, @SerializedName("success") val success: Boolean, @SerializedName("timestamp") val timestamp: Long,