You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+69-23Lines changed: 69 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,16 +66,6 @@ Explore more <a href="https://www.ctrf.io/integrations">integrations</a>
66
66
}
67
67
```
68
68
69
-
## What is CTRF?
70
-
71
-
CTRF is a universal JSON test report schema that addresses the lack of a standardized format for JSON test reports.
72
-
73
-
**Consistency Across Tools:** Different testing tools and frameworks often produce reports in varied formats. CTRF ensures a uniform structure, making it easier to understand and compare reports, regardless of the testing tool used.
74
-
75
-
**Language and Framework Agnostic:** It provides a universal reporting schema that works seamlessly with any programming language and testing framework.
76
-
77
-
**Facilitates Better Analysis:** With a standardized format, programatically analyzing test outcomes across multiple platforms becomes more straightforward.
|`name`| String | Required | The name of the test. |
259
+
|`status`| String | Required | The outcome of the test. One of: `passed`, `failed`, `skipped`, `pending`, `other`. |
260
+
|`duration`| Number | Required | The time taken for the test execution, in milliseconds. |
261
+
|`message`| String | Optional | The failure message if the test failed. |
262
+
|`trace`| String | Optional | The stack trace captured if the test failed. |
263
+
|`rawStatus`| String | Optional | The original cypress status of the test before mapping to CTRF status. |
264
+
|`type`| String | Optional | The type of test (e.g., `api`, `e2e`). |
265
+
|`filepath`| String | Optional | The file path where the test is located in the project. |
266
+
|`retries`| Number | Optional | The number of retries attempted for the test. |
267
+
|`flaky`| Boolean | Optional | Indicates whether the test result is flaky. |
268
+
|`browser`| String | Optional | The browser used for the test. |
269
+
|`screenshot`| String | Optional | The base-64 screenshot of the test. |
270
+
|`attachments`| Array | Optional | The attachments of the test. |
271
+
272
+
## What is CTRF?
273
+
274
+
CTRF is a universal JSON test report schema that addresses the lack of a standardized format for JSON test reports.
275
+
276
+
**Consistency Across Tools:** Different testing tools and frameworks often produce reports in varied formats. CTRF ensures a uniform structure, making it easier to understand and compare reports, regardless of the testing tool used.
277
+
278
+
**Language and Framework Agnostic:** It provides a universal reporting schema that works seamlessly with any programming language and testing framework.
279
+
280
+
**Facilitates Better Analysis:** With a standardized format, programatically analyzing test outcomes across multiple platforms becomes more straightforward.
0 commit comments