# CCTS 輸出報告解析 [TOC] ## 格式說明 :::spoiler 格式說明 ```markdown # Title ## Information + Test Time: 時間 + Delivery: + Pass number: 通過的delivery數量 + Failure number: 失敗的delivery數量 + Path: + pass path number: + fail path number: + Contract: + passed service number: + fail service number: ## Potential Path + path1 + .... ## Test Result ### Pass #### document name ##### Delivery + testCaseId: t-logging-orc-01 + provider: + consumer: + timeSequenceLabel: + ..... ##### Contract + service Name ##### Path + path1... ### Fail #### document name ##### Delivery + testCaseId: t-logging-orc-01 + provider: + consumer: + timeSequenceLabel: + ..... ##### Contract + Service name: + Fail Reason: ##### Path + path1 + Fail Reason: + ... ``` ::: --- # 以下為輸出範例 # CCTS Test Report <!-- [TOC] --> ## Information + Test Time: 2022-04-24 + Pass number: 24 + Failure number: 28 ## Test Result ### Pass #### CCTS saga test case1 + stateName: Approved top-update + provider: loggingService + consumer: orchestrator + testCaseId: t-logging-orc-01 + stateName: Approved top-update + provider: loggingService + consumer: orchestrator + testCaseId: t-logging-orc-01 + stateName: Payment reversed + provider: orchestrator + consumer: paymentService + testCaseId: poc-04 + stateName: Payment reversed + provider: orchestrator + consumer: paymentService + testCaseId: poc-04 + stateName: payment process + provider: orchestrator + consumer: paymentService + testCaseId: t-orc-payment-01 + stateName: payment process + provider: orchestrator + consumer: paymentService + testCaseId: t-orc-payment-01 + stateName: Revert point + provider: orchestrator + consumer: pointService + testCaseId: poc-08 + stateName: Revert point + provider: orchestrator + consumer: pointService + testCaseId: poc-08 + stateName: Payment reverse + provider: orchestrator + consumer: paymentService + testCaseId: poc-10 + stateName: Payment reverse + provider: orchestrator + consumer: paymentService + testCaseId: poc-10 + stateName: Update point Fail + provider: pointService + consumer: orchestrator + testCaseId: poc-08 + stateName: Update point Fail + provider: pointService + consumer: orchestrator + testCaseId: poc-08 + stateName: Prepare log + provider: pointService + consumer: orchestrator + testCaseId: t-point-orc-01 + stateName: Prepare log + provider: pointService + consumer: orchestrator + testCaseId: t-point-orc-01 + stateName: Update point + provider: orchestrator + consumer: pointService + testCaseId: t-orc-point-01 + stateName: Update point + provider: orchestrator + consumer: pointService + testCaseId: t-orc-point-01 + stateName: Log + provider: orchestrator + consumer: loggingService + testCaseId: t-orc-logging-01 + stateName: Log + provider: orchestrator + consumer: loggingService + testCaseId: t-orc-logging-01 + stateName: Prepare reverse payment + provider: pointService + consumer: orchestrator + testCaseId: poc-09 + stateName: Prepare reverse payment + provider: pointService + consumer: orchestrator + testCaseId: poc-09 + stateName: Top-up cancel + provider: paymentService + consumer: orchestrator + testCaseId: poc-05 + stateName: Top-up cancel + provider: paymentService + consumer: orchestrator + testCaseId: poc-05 + stateName: Prepare update point + provider: paymentService + consumer: orchestrator + testCaseId: t-payment-orc-01 + stateName: Prepare update point + provider: paymentService + consumer: orchestrator + testCaseId: t-payment-orc-01 + stateName: Payment Fail + provider: paymentService + consumer: orchestrator + testCaseId: poc-03 + stateName: Payment Fail + provider: paymentService + consumer: orchestrator + testCaseId: poc-03 ### Failure #### CCTS saga test case1 + stateName: Approved top-update + provider: loggingService + consumer: orchestrator + testCaseId: t-logging-orc-01 + failure message: All conditions passed. + stateName: Approved top-update + provider: loggingService + consumer: orchestrator + testCaseId: t-logging-orc-01 + failure message: All conditions passed. + stateName: Payment reversed + provider: orchestrator + consumer: paymentService + testCaseId: poc-04 + failure message: There is no correspond testCaseId for this delivery. + stateName: Payment reversed + provider: orchestrator + consumer: paymentService + testCaseId: poc-04 + failure message: the testCaseId is not found in contract + stateName: payment process + provider: orchestrator + consumer: paymentService + testCaseId: t-orc-payment-01 + failure message: All conditions passed. + stateName: payment process + provider: orchestrator + consumer: paymentService + testCaseId: t-orc-payment-01 + failure message: All conditions passed. + stateName: Revert point + provider: orchestrator + consumer: pointService + testCaseId: poc-08 + failure message: There is no correspond testCaseId for this delivery. + stateName: Revert point + provider: orchestrator + consumer: pointService + testCaseId: poc-08 + failure message: the testCaseId is not found in contract + stateName: Payment reverse + provider: orchestrator + consumer: paymentService + testCaseId: poc-10 + failure message: There is no correspond testCaseId for this delivery. + stateName: Payment reverse + provider: orchestrator + consumer: paymentService + testCaseId: poc-10 + failure message: the testCaseId is not found in contract + stateName: Update point Fail + provider: pointService + consumer: orchestrator + testCaseId: poc-08 + failure message: There is no correspond testCaseId for this delivery. + stateName: Update point Fail + provider: pointService + consumer: orchestrator + testCaseId: poc-08 + failure message: the testCaseId is not found in contract + stateName: Prepare log + provider: pointService + consumer: orchestrator + testCaseId: t-point-orc-01 + failure message: All conditions passed. + stateName: Prepare log + provider: pointService + consumer: orchestrator + testCaseId: t-point-orc-01 + failure message: All conditions passed. + stateName: Update point + provider: orchestrator + consumer: pointService + testCaseId: t-orc-point-01 + failure message: All conditions passed. + stateName: Update point + provider: orchestrator + consumer: pointService + testCaseId: t-orc-point-01 + failure message: All conditions passed. + stateName: Log + provider: orchestrator + consumer: loggingService + testCaseId: t-orc-logging-01 + failure message: All conditions passed. + stateName: Log + provider: orchestrator + consumer: loggingService + testCaseId: t-orc-logging-01 + failure message: All conditions passed. + stateName: Prepare reverse payment + provider: pointService + consumer: orchestrator + testCaseId: poc-09 + failure message: There is no correspond testCaseId for this delivery. + stateName: Prepare reverse payment + provider: pointService + consumer: orchestrator + testCaseId: poc-09 + failure message: the testCaseId is not found in contract + stateName: Top-up cancel + provider: paymentService + consumer: orchestrator + testCaseId: poc-05 + failure message: There is no correspond testCaseId for this delivery. + stateName: Top-up cancel + provider: paymentService + consumer: orchestrator + testCaseId: poc-05 + failure message: the testCaseId is not found in contract + stateName: Prepare update point + provider: paymentService + consumer: orchestrator + testCaseId: t-payment-orc-01 + failure message: All conditions passed. + stateName: Prepare update point + provider: paymentService + consumer: orchestrator + testCaseId: t-payment-orc-01 + failure message: All conditions passed. + stateName: Payment Fail + provider: paymentService + consumer: orchestrator + testCaseId: poc-03 + failure message: There is no correspond testCaseId for this delivery. + stateName: Payment Fail + provider: paymentService + consumer: orchestrator + testCaseId: poc-03 + failure message: the testCaseId is not found in contract