Skip to content

Commit 73fb045

Browse files
author
Chohee Kim
committed
Update README reflecting to current changes in module-metadata-file
1 parent 417f7e0 commit 73fb045

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,12 @@ It creates a json file, `module-metadata-<timestamp>.json`, which contains an ar
153153
```json
154154
[
155155
{
156-
"name": "Module-name",
156+
"moduleName": "Module-name",
157157
"total": "Total number of tests in the module",
158-
"duration": "ms in Total duration to execute the module"
158+
"passed": "A number of passed tests in the module",
159+
"failed": "A number of failed tests in the module",
160+
"duration": "ms in Total duration to execute the module",
161+
"failedTests": "A list of failed tests"
159162
}
160163
]
161164
```
@@ -164,14 +167,20 @@ and it looks something like below:
164167
```json
165168
[
166169
{
167-
"name": "Slowest Module",
170+
"moduleName": "Slowest-module",
168171
"total": 12,
169-
"duration": 2159
172+
"passed": 11,
173+
"failed": 1,
174+
"duration": 153,
175+
"failedTests": ["failed-test-1"]
170176
},
171177
{
172-
"name": "Fastest Module",
173-
"total": 9,
174-
"duration": 125
178+
"moduleName": "Fastest-module",
179+
"total": 2,
180+
"passed": 1,
181+
"failed": 0,
182+
"duration": 123,
183+
"failedTests": []
175184
}
176185
]
177186
```

0 commit comments

Comments
 (0)