lc2-report
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "lc2-report", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,27 +7,14 @@ ##lc2-report | ||
-- report.zip | ||
|- report.json | ||
|- log1 | ||
|- log2 | ||
|- report.log | ||
|- capture1.png | ||
|- capture2.png | ||
|- ... | ||
|- snapshot(保存开始运行时的代码资源快照) | ||
``` | ||
```js | ||
// report.json stores the suite info | ||
{ | ||
start: xxx, | ||
data: [ // stores the file names of logs stroed | ||
log1, | ||
log2, | ||
... | ||
] | ||
} | ||
``` | ||
```js | ||
// all the log file is as follows: each log object is a line. | ||
// The report.log file is as follows: each log object is a line. | ||
// if there are too many logs, the file will be split into | ||
// another. All the file names can be got from report.json. | ||
{"type": "start","data": {...},"time": 1477492497167} | ||
{"type": "jumpto","data": {"url": "https://www.baidu.com/","line": 7},"time": 1477492498273}, | ||
{"type": "jumpto","data": {"url": "https://www.baidu.com/","line": 7},"time": 1477492498273} | ||
... | ||
@@ -45,2 +32,3 @@ {"type": "end","data": {"time": 1477492499401},"time": 1477492499401}, | ||
fail: xxx, // number of case failed | ||
tmpDir: xxx // tmp directory to unzip the report.zip | ||
}, | ||
@@ -47,0 +35,0 @@ caseList: [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
289923
1068
98